Skip to main content

UseBackgroundSyncOptions

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 { UseBackgroundSyncOptions } from '@ovok/native/bt-management';

TypeScript shape​

interface UseBackgroundSyncOptions {
enabled?: boolean;
canEnable?: () => Promise<boolean>;
onEnabledChange?: (enabled: boolean) => Promise<void> | void;
}

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

Public members​

MemberTypeDetails
enabledbooleanOptional. —
canEnable() => Promise<boolean>Optional. —
onEnabledChange(enabled: boolean) => Promise<void> | voidOptional. —

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.