Skip to main content

SyncProgress

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

TypeScript shape​

type SyncProgress = {
measurementTypeKey: HealthSyncKey;
status: "started" | "completed" | "failed" | "idle" | "syncing" | "paused";
reason?: SyncPauseReason;
progress?: {
done: number;
total: number;
created?: number;
};
};

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

Public members​

MemberTypeDetails
measurementTypeKeyHealthSyncKey—
status"started" | "completed" | "failed" | "idle" | "syncing" | "paused"—
reasonSyncPauseReasonOptional. —
progress{ done: number; total: number; created?: number; }Optional. —

Learn the workflow​

Continue with Health Data for the workflow context and examples.

Source​

View the declaration in the SDK source.