Scope class

Scope constant class, which is used to apply for scopes to access Health Kit data from users.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopeStr String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

getAllScopes List<Scope>
no setter

Constants

HEALTHKIT_ACTIVITY_READ → const Scope
Views the activity data (such as activity points, workout, strength, running posture, cycling, and activity duration) in HUAWEI Health Kit.
HEALTHKIT_ACTIVITY_RECORD_READ → const Scope
Views the activity data (such as activity points, workout, strength, running posture, cycling, and activity duration) in HUAWEI Health Kit.
HEALTHKIT_ACTIVITY_RECORD_WRITE → const Scope
Stores the activity data (such as activity points, workout, strength, running posture, cycling, and activity duration) in HUAWEI Health Kit.
HEALTHKIT_ACTIVITY_WRITE → const Scope
Stores the activity data (such as activity points, workout, strength, running posture, cycling, and activity duration) in HUAWEI Health Kit.
HEALTHKIT_BLOODGLUCOSE_READ → const Scope
Views the blood glucose data in HUAWEI Health Kit.
HEALTHKIT_BLOODGLUCOSE_WRITE → const Scope
Stores the blood glucose data in HUAWEI Health Kit.
HEALTHKIT_BLOODPRESSURE_READ → const Scope
Views the blood pressure data in HUAWEI Health Kit.
HEALTHKIT_BLOODPRESSURE_WRITE → const Scope
Stores the blood pressure data in HUAWEI Health Kit.
HEALTHKIT_BODYFAT_READ → const Scope
Views the body fat data (such as body fat rate, BMI, muscle mass, moisture rate, visceral fat, bone salt, protein ratio, and skeletal muscle mass) in HUAWEI Health Kit.
HEALTHKIT_BODYFAT_WRITE → const Scope
Stores the body fat data (such as body fat rate, BMI, muscle mass, moisture rate, visceral fat, bone salt, protein ratio, and skeletal muscle mass) in HUAWEI Health Kit.
HEALTHKIT_BODYTEMPERATURE_READ → const Scope
Views the body temperature data in HUAWEI Health Kit.
HEALTHKIT_BODYTEMPERATURE_WRITE → const Scope
Stores the body temperature data in HUAWEI Health Kit.
HEALTHKIT_CALORIES_READ → const Scope
Views the calories (including the BMR) in HUAWEI Health Kit.
HEALTHKIT_CALORIES_WRITE → const Scope
Stores calories (including the BMR) in HUAWEI Health Kit.
HEALTHKIT_DISTANCE_READ → const Scope
Views the distance and climbing height in HUAWEI Health Kit.
HEALTHKIT_DISTANCE_WRITE → const Scope
Stores the distance and climbing height in HUAWEI Health Kit.
HEALTHKIT_HEARTHEALTH_READ → const Scope
Views the heart health data (such as heart rate variability and ECG) from Health Kit.
HEALTHKIT_HEARTHEALTH_WRITE → const Scope
Stores the heart health data (such as heart rate variability and electrocardiogram) to Health Kit.
HEALTHKIT_HEARTRATE_READ → const Scope
Views the heart rate data in HUAWEI Health Kit.
HEALTHKIT_HEARTRATE_REALTIME → const Scope
Subscribes to real-time heart data in HUAWEI Health Kit.
HEALTHKIT_HEARTRATE_WRITE → const Scope
Stores the heart rate data in HUAWEI Health Kit.
HEALTHKIT_HEIGHTWEIGHT_READ → const Scope
Views the height and weight in HUAWEI Health Kit.
HEALTHKIT_HEIGHTWEIGHT_WRITE → const Scope
Stores the height and weight in HUAWEI Health Kit.
HEALTHKIT_HISTORYDATA_OPEN_MONTH → const Scope
Views data of the previous month from Health Kit.
HEALTHKIT_HISTORYDATA_OPEN_WEEK → const Scope
Views data of the previous week from Health Kit.
HEALTHKIT_HISTORYDATA_OPEN_YEAR → const Scope
Views data of the previous year from Health Kit.
HEALTHKIT_LOCATION_READ → const Scope
Views the location data (including the trajectory) in HUAWEI Health Kit.
HEALTHKIT_LOCATION_WRITE → const Scope
Stores the location data (including the trajectory) in HUAWEI Health Kit.
HEALTHKIT_NUTRITION_READ → const Scope
Views the nutrition data in HUAWEI Health Kit.
HEALTHKIT_NUTRITION_WRITE → const Scope
Stores the nutrition data in HUAWEI Health Kit.
HEALTHKIT_OXYGEN_SATURATION_READ → const Scope
Views the SpO2 data from Health Kit.
HEALTHKIT_OXYGEN_SATURATION_WRITE → const Scope
Stores the SpO2 data to Health Kit.
HEALTHKIT_OXYGENSTATURATION_READ → const Scope
Views the blood oxygen data in HUAWEI Health Kit.
HEALTHKIT_OXYGENSTATURATION_WRITE → const Scope
Stores the blood oxygen data in HUAWEI Health Kit.
HEALTHKIT_PULMONARY_READ → const Scope
Views the pulmonary function data (e.g. VO2 Max) in HUAWEI Health Kit.
HEALTHKIT_PULMONARY_WRITE → const Scope
Stores the pulmonary function data (e.g. VO2 Max) in HUAWEI Health Kit.
HEALTHKIT_REPRODUCTIVE_READ → const Scope
Views the reproductive data in HUAWEI Health Kit.
HEALTHKIT_REPRODUCTIVE_WRITE → const Scope
Stores the reproductive data in HUAWEI Health Kit.
HEALTHKIT_SLEEP_READ → const Scope
Views the sleep data in HUAWEI Health Kit.
HEALTHKIT_SLEEP_WRITE → const Scope
Stores the sleep data in HUAWEI Health Kit.
HEALTHKIT_SPEED_READ → const Scope
Views the speed in HUAWEI Health Kit.
HEALTHKIT_SPEED_WRITE → const Scope
Stores the speed in HUAWEI Health Kit.
HEALTHKIT_STEP_READ → const Scope
Views the step count in HUAWEI Health Kit.
HEALTHKIT_STEP_REALTIME → const Scope
Subscribes to real-time total step count data in HUAWEI Health Kit.
HEALTHKIT_STEP_WRITE → const Scope
Stores the step count in HUAWEI Health Kit.
HEALTHKIT_STRENGTH_READ → const Scope
Views medium- and high-intensity data in HUAWEI Health Kit.
HEALTHKIT_STRENGTH_WRITE → const Scope
Stores medium- and high-intensity data in HUAWEI Health Kit.
HEALTHKIT_STRESS_READ → const Scope
Views the stress data from Health Kit.
HEALTHKIT_STRESS_WRITE → const Scope
Stores the stress data to Health Kit.