huawei_health library

Classes

ActivityRecord
Activity record class, which records the basic information about an activity of the user. For example, for an outdoor running activity, information including the start time, end time, activity record name, identifier, description, activity type (as defined in HiHealthActivities), and activity duration will be recorded.
ActivityRecordDeleteOptions
ActivityRecordInsertOptions
Request parameter class for inserting an activity record, including the associated sampling dataset and sampling points to the platform.
ActivityRecordReadOptions
Defines the activity record read options for an ActivityRecord read process
ActivityRecordsController
Provides functions to create and manage user activities.
ActivitySummary
AppInfo
AuthAccount
AuthHuaweiId
Result class that defines a HuaweiID for the HealthAuth.signIn method.
AutoRecorderController
Provides the capabilities to read data in real time and cancels the reading.
ConsentsController
Provides authorization management APIs that can be used to view and revoke the granted permissions.
DataCollector
Defines a unique data collector.
DataController
Determines the API for data management.
DataType
Data types defined by HUAWEI Health Kit.
DataTypeAddOptions
Defines the options for adding a customized data type to Health Kit.
DeleteOptions
Defines the delete options for an ActivityRecord delete process.
DeviceInfo
Field
Fields for common data types.
FieldFloat
Sets the double-precision floating-point attribute value of a sampling point.
FieldInt
Sets the integer attribute value of a sampling point.
FieldLong
Sets the long integer attribute value of a sampling point.
FieldMap
Sets the mapped attribute value of a sampling point.
FieldString
Sets the string attribute value of a sampling point.
FieldValueOptions
Base class for FieldValueOptions.
Group
Grouped data class, which represents a data group obtained by the user when querying the grouped data.
HealthAuth
Provides signIn method for obtaining the Health Kit Authorization from the user.
HealthDataTypes
HealthFields
HealthKitAuthResult
HealthKitAuthResultStatus
HealthRecord
HealthRecordController
HealthRecordDeleteOptions
HealthRecordInsertOptions
HealthRecordReadOptions
HealthRecordReply
HealthRecordUpdateOptions
HiHealthActivities
Defines different types of activity that a user is performing.
HiHealthOption
Defines the request permissions.
HiHealthStatusCodes
Defines the HiHealth result codes.
HMSLogger
Includes the methods for enabling and disabling the HMSLogger capability which is used for sending usage analytics of the Huawei Flutter Health Kit's methods to improve its service quality.
NotificationProperties
PaceSummary
ReadOptions
Request class for reading data.
ReadReply
Data reading response class that defines the Read results of the DataController.read method.
SamplePoint
Sampling point class, which presents the sampled data of a specific type collected by a specific data collector at a given time or within a time range. It stores the values of each dimension of the data type at the given time (or within the time range) and the start time and end time of the sampling operation.
SampleSection
SampleSet
The sampling dataset class represents the container for storing sampling points.
Scope
Scope constant class, which is used to apply for scopes to access Health Kit data from users.
ScopeLangItem
List of permissions that have been granted to your app.
SettingController
Provides the setting-related functions.
SleepState
Sleep state class. Five states: light sleep, REM sleep, deep sleep, awake, and nap.
UpdateOptions
Request parameter class for updating data for a specified period of time to the HUAWEI Health platform.

Enums

AccessType
DataGenerateType
GroupType
TimeUnit
Time Units to match on the native platform.