Skip to main content

AndroidHealthConnectSyncRunOptions

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

TypeScript shape​

type AndroidHealthConnectSyncRunOptions = {
client: OvokClient;
patientId: string;
dataToSync: AndroidHealthSyncProps["dataToSync"];
chunkSize?: number;
onError?: (error: Error) => void;
onProgress?: (progress: Partial<Record<HealthSyncKey, SyncProgress>>) => void;
};

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

Public members​

MemberTypeDetails
clientOvokClient—
patientIdstring—
dataToSyncAndroidHealthSyncProps["dataToSync"]—
chunkSizenumberOptional. —
onError(error: Error) => voidOptional. —
onProgress(progress: Partial<Record<HealthSyncKey, SyncProgress>>) => voidOptional. —

Learn the workflow​

Continue with Background Sync for the workflow context and examples.

Source​

View the declaration in the SDK source.