Health Permission Status
Represents the inferred read-permission status for health data tracking.
On iOS / watchOS (HealthKit), Apple does not expose whether the user granted or denied individual read permissions. The status is inferred by combining two signals: whether the authorization dialog has been presented, and whether a step-count query over the past 7 days returns any data.
On Android (Health Connect), permissions are checked directly via the granted-permissions set. The mapping is:
All required permissions granted → LIKELY_GRANTED
Some missing → LIKELY_DENIED
Health Connect not available → UNAVAILABLE
Never requested → NOT_DETERMINED
Entries
The permission dialog has not yet been shown to the user.
Permission is effectively granted — health data is accessible.
Permission was likely denied — health data is not accessible.
The health platform is not available on this device.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.