AppleHealthAuthorizationStatus
No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.
Kind: Type alias
Package: @ovok/native
Import
import { AppleHealthAuthorizationStatus } from '@ovok/native/data-sync';
TypeScript shape
type AppleHealthAuthorizationStatus = {
state: "unknown" | "shouldRequest" | "requesting" | "ready" | "error";
notRequestedReadIdentifiers: HKSampleTypeIdentifier[];
notRequestedWriteIdentifiers: HKSampleTypeIdentifier[];
notRequestedMeasurementTypes: HealthSyncKey[];
error?: Error;
};
This is a type-level export; it has no call parameters.
Public members
| Member | Type | Details |
|---|---|---|
state | "unknown" | "shouldRequest" | "requesting" | "ready" | "error" | — |
notRequestedReadIdentifiers | HKSampleTypeIdentifier[] | HealthKit types that still need to be answered in Settings. |
notRequestedWriteIdentifiers | HKSampleTypeIdentifier[] | HealthKit write types that still need to be answered in Settings. |
notRequestedMeasurementTypes | HealthSyncKey[] | Configured measurement types with at least one unanswered read identifier. |
error | Error | Optional. — |
Learn the workflow
Continue with Health Data for the workflow context and examples.