Skip to main content

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; }
ParameterTypeDetails
__0Pick<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.

Source​

View the declaration in the SDK source.