useBluetoothState
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 { useBluetoothState } from '@ovok/native/bt-management';
TypeScript signatures
({ bleManager, requestPermission, }?: UseBluetoothStateOptions): { state: BluetoothState; requestPermission: () => Promise<boolean>; permissionStatus: BluetoothPermissionStatus; openSettings: () => void; }
| Parameter | Type | Details |
|---|---|---|
__0 | UseBluetoothStateOptions | — |
Returns: { state: BluetoothState; requestPermission: () => Promise<boolean>; permissionStatus: BluetoothPermissionStatus; openSettings: () => void; }.
Learn the workflow
Continue with Bluetooth for the workflow context and examples.