Skip to main content

HealthImportAdapter

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Interface
Package: @ovok/native

Import​

import { HealthImportAdapter } from '@ovok/native/bt-management';

This symbol is also available from: @ovok/native/data-sync.

TypeScript shape​

interface HealthImportAdapter<TType extends string = string> {
getStatus: (type: TType) => Promise<"authorized" | "shouldRequest" | "refused" | "unsupported">;
request: (types: readonly TType[], background: boolean) => Promise<void>;
}

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

Public members​

MemberTypeDetails
getStatus(type: TType): Promise<"authorized" | "shouldRequest" | "refused" | "unsupported">—
request(types: readonly TType[], background: boolean): Promise<void>—

Learn the workflow​

Continue with Health Data for the workflow context and examples.

Source​

View the declaration in the SDK source.