useBluetoothPermission
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 { useBluetoothPermission } from '@ovok/native/bt-management';
TypeScript signatures
({ requestOnMount, requestPermission, onPermissionChanged, onRequestError, }?: UseBluetoothPermissionOptions): { status: any; request: any; requestPermission: any; openSettings: any; accessPermission: boolean | undefined; }
| Parameter | Type | Details |
|---|---|---|
__0 | UseBluetoothPermissionOptions | — |
Returns: { status: any; request: any; requestPermission: any; openSettings: any; accessPermission: boolean | undefined; }.
Learn the workflow
Continue with Bluetooth for the workflow context and examples.