Skip to main content

HealthAuthorizationValue

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 { HealthAuthorizationValue } from '@ovok/native/data-sync';

TypeScript shape​

type HealthAuthorizationValue = {
platform: "apple-health";
status: AppleHealthAuthorizationStatus;
missingTypes: readonly string[];
request: () => Promise<void>;
} | {
platform: "health-connect";
status: AndroidHealthConnectAuthorizationStatus;
missingTypes: readonly string[];
request: () => Promise<void>;
};

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
platform"apple-health"—
statusAppleHealthAuthorizationStatus—
missingTypesreadonly string[]—
request(): Promise<void>—

Learn the workflow​

Continue with Health Data for the workflow context and examples.

Source​

View the declaration in the SDK source.