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