Skip to main content

UseBluetoothPermissionOptions

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Interface
Package: @ovok/native

Import​

import { UseBluetoothPermissionOptions } from '@ovok/native/bt-management';

TypeScript shape​

interface UseBluetoothPermissionOptions {
requestOnMount?: boolean;
requestPermission?: () => Promise<boolean>;
onPermissionChanged?: (granted: boolean) => void;
onRequestError?: (error: unknown) => void;
}

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
requestOnMountbooleanOptional. —
requestPermission() => Promise<boolean>Optional. —
onPermissionChanged(granted: boolean) => voidOptional. —
onRequestError(error: unknown) => voidOptional. —

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.