Skip to main content

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; }
ParameterTypeDetails
__0UseBluetoothPermissionOptions—

Returns: { status: any; request: any; requestPermission: any; openSettings: any; accessPermission: boolean | undefined; }.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.