HealthConnectHealthMetric enum
Represents health metrics available through Health Connect.
Each metric corresponds to a specific Android Health Connect permission.
Values
- heartRate → const HealthConnectHealthMetric
-
Heart rate measurement data. Permission: android.permission.health.READ_HEART_RATE
const HealthConnectHealthMetric(value: "android.permission.health.READ_HEART_RATE") - skinTemperature → const HealthConnectHealthMetric
-
Skin temperature measurement data. Permission: android.permission.health.READ_SKIN_TEMPERATURE
const HealthConnectHealthMetric(value: "android.permission.health.READ_SKIN_TEMPERATURE") - heartRateVariability → const HealthConnectHealthMetric
-
Heart rate variability data. Permission: android.permission.health-READ_HEART_RATE_VARIABILITY
const HealthConnectHealthMetric(value: "android.permission.health.READ_HEART_RATE_VARIABILITY")
Properties
- definition → String
-
Returns the permission string for this metric.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The Android Health Connect permission string for this metric.
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
Constants
-
values
→ const List<
HealthConnectHealthMetric> - A constant List of the values in this enum, in order of their declaration.