useRequestPermissions
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 { useRequestPermissions } from '@ovok/native/bt-management';
TypeScript signatures
({ onAccessPermissionChanged, }: Pick<BTProviderProps<IntegratedDevices[]>, "onAccessPermissionChanged">): { accessPermission: boolean | undefined; status: any; openBleSetting: any; requestPermission: any; }
| Parameter | Type | Details |
|---|---|---|
__0 | Pick<BTProviderProps<IntegratedDevices[]>, "onAccessPermissionChanged"> | — |
Returns: { accessPermission: boolean | undefined; status: any; openBleSetting: any; requestPermission: any; }.
Learn the workflow
Continue with Bluetooth for the workflow context and examples.