Health Connect Availability Status
Represents the availability status of the Health Connect SDK on the device.
Use com.advantahealth.api.health.AFHealthTracking.getSdkAvailabilityStatus to obtain this value.
Handling each status in your UI:
AVAILABLE: Health Connect is ready. Proceed with permission requests and data operations.
PROVIDER_UPDATE_REQUIRED: Show a prompt encouraging the user to update Health Connect (use com.advantahealth.api.health.AFHealthTracking.installOrUpdateHealthConnect to redirect to the Play Store).
UNAVAILABLE: Hide any Health Connect integration points in the UI.
Entries
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.