Skip to main content

usePairedDevices

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: React hook
Package: @ovok/native

Import​

import { usePairedDevices } from '@ovok/native/bt-management';

TypeScript signatures​

({ storage, storageKey, autoPair, }: UsePairedDevicesOptions): { paired: readonly string[]; pair: (device: RuntimeDevice) => Promise<void>; forget: (id: string) => Promise<void>; }
ParameterTypeDetails
__0UsePairedDevicesOptions—

Returns: { paired: readonly string[]; pair: (device: RuntimeDevice) => Promise<void>; forget: (id: string) => Promise<void>; }.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.