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
| Member | Type | Details |
|---|---|---|
backgroundEnabled | boolean | Optional. — |
serviceUUIDs | readonly string[] | null | Optional. — |
oneReadingPerConnection | boolean | Optional. — |
deliveredEcgFileNames | readonly string[] | Optional. — |
deliveredFileNames | readonly string[] | Optional. — |
clearDeviceHistory | boolean | Optional. — |
resultPolicies | Partial<Record<string, DeviceResultPolicy>> | Optional. — |
clockSync | ClockSyncOptions | Optional. — |
autoConnect | boolean | Optional. Connect one newly discovered device automatically after the scan settles. |
autoConnectDelayMs | number | Optional. — |
onDeviceSelectionRequired | (selection: { devices: readonly BTDeviceSelection[]; select: (device: BTDeviceSelection) => Promise<void>; }) => void | Optional. 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.