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.
Request parameter class for inserting an activity record, including the
associated sampling dataset and sampling points to the platform.
Defines the activity record read options for an
ActivityRecord read process
Provides functions to create and manage user activities.
Result class that defines a HuaweiID for the
Provides the capabilities to read data in real time and cancels the reading.
Provides authorization management APIs that can be used to view and revoke
the granted permissions.
Defines a unique data collector.
Determines the API for data management.
Data types defined by HUAWEI Health Kit.
Defines the options for adding a customized data type to Health Kit.
Defines the delete options for an
ActivityRecord delete process.
Fields for common data types.
Sets the double-precision floating-point attribute value of a sampling point.
Sets the integer attribute value of a sampling point.
Sets the long integer attribute value of a sampling point.
Sets the mapped attribute value of a sampling point.
Sets the string attribute value of a sampling point.
Base class for FieldValueOptions.
Grouped data class, which represents a data group obtained by the user when
querying the grouped data.
signIn method for obtaining the Health Kit Authorization from the user.
Defines different types of activity that a user is performing.
Defines the request permissions.
Defines the HiHealth result codes.
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.
Request class for reading data.
Data reading response class that defines the Read results of the
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.
The sampling dataset class represents the container for storing sampling points.
Scope constant class, which is used to apply for scopes to access Health Kit data from users.
List of permissions that have been granted to your app.
Provides the setting-related functions.
Sleep state class. Five states: light sleep, REM sleep, deep sleep, awake, and nap.
Request parameter class for updating data for a specified period of time to
the HUAWEI Health platform.