Variable useMicrophonePermissionsConst
useMicrophonePermissions: (
options?: PermissionHookOptions<object>,
) => [
null
| PermissionResponse,
RequestPermissionMethod<PermissionResponse>,
GetPermissionMethod<PermissionResponse>,
] = ...
Type declaration
- (
options?: PermissionHookOptions<object>,
): [
null
| PermissionResponse,
RequestPermissionMethod<PermissionResponse>,
GetPermissionMethod<PermissionResponse>,
] Parameters
Optionaloptions: PermissionHookOptions<object>
Returns [
null
| PermissionResponse,
RequestPermissionMethod<PermissionResponse>,
GetPermissionMethod<PermissionResponse>,
]
Check or request permissions to access the microphone. This uses both
requestMicrophonePermissionsAsyncandgetMicrophonePermissionsAsyncto interact with the permissions.