HiHealthOption class
Defines the request permissions.
Permissions are defined by DataType, which determines the Health Kit scopes authorized to the signed-in HUAWEI ID.
- Annotations
-
- @Deprecated('This Class has been deprecated.')
Constructors
- HiHealthOption(DataType? dataType, AccessType? accessType)
Properties
- accessType ↔ AccessType?
-
AccessType options are
AccessType.read
andAccess.write
.getter/setter pair - dataType ↔ DataType?
-
Data type that the developer needs to access.
getter/setter pair
- hashCode → int
-
Returns the hashCode of the ActivityRecord object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override