Skip to main content

useBluetoothSelector

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

TypeScript signatures​

<Selection>(selector: (snapshot: BluetoothRuntimeSnapshot) => Selection, isEqual?: (previous: Selection, next: Selection) => boolean): Selection
ParameterTypeDetails
selector(snapshot: BluetoothRuntimeSnapshot) => Selection—
isEqual(previous: Selection, next: Selection) => boolean—

Returns: Selection.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.