Skip to main content

BTManagerOptions

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

TypeScript shape​

interface BTManagerOptions {
backgroundEnabled?: boolean;
serviceUUIDs?: readonly string[] | null;
oneReadingPerConnection?: boolean;
deliveredEcgFileNames?: readonly string[];
deliveredFileNames?: readonly string[];
clearDeviceHistory?: boolean;
resultPolicies?: Partial<Record<string, DeviceResultPolicy>>;
clockSync?: ClockSyncOptions;
autoConnect?: boolean;
autoConnectDelayMs?: number;
onDeviceSelectionRequired?: (selection: {
devices: readonly BTDeviceSelection[];
select: (device: BTDeviceSelection) => Promise<void>;
}) => void;
}

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

Public members​

MemberTypeDetails
backgroundEnabledbooleanOptional. —
serviceUUIDsreadonly string[] | nullOptional. —
oneReadingPerConnectionbooleanOptional. —
deliveredEcgFileNamesreadonly string[]Optional. —
deliveredFileNamesreadonly string[]Optional. —
clearDeviceHistorybooleanOptional. —
resultPoliciesPartial<Record<string, DeviceResultPolicy>>Optional. —
clockSyncClockSyncOptionsOptional. —
autoConnectbooleanOptional. Connect one newly discovered device automatically after the scan settles.
autoConnectDelayMsnumberOptional. —
onDeviceSelectionRequired(selection: { devices: readonly BTDeviceSelection[]; select: (device: BTDeviceSelection) => Promise<void>; }) => voidOptional. Called when more than one supported device is discovered in the settle window.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.