Skip to main content

AndroidHealthConnectAuthorizationStatus

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

TypeScript shape​

type AndroidHealthConnectAuthorizationStatus = {
state: "unknown" | "shouldRequest" | "requesting" | "authorized" | "refused" | "error";
error?: Error;
missingTypes?: readonly string[];
backgroundAccess?: "authorized" | "shouldRequest" | "refused" | "unsupported";
};

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

Public members​

MemberTypeDetails
state"unknown" | "shouldRequest" | "requesting" | "authorized" | "refused" | "error"—
errorErrorOptional. —
missingTypesreadonly string[]Optional. —
backgroundAccess"authorized" | "shouldRequest" | "refused" | "unsupported"Optional. Background access is reported independently; it never blocks foreground import.

Learn the workflow​

Continue with Health Data for the workflow context and examples.

Source​

View the declaration in the SDK source.