rememberMultiplePermissionsState

Creates a MultiplePermissionsState that is remembered across compositions.

It's recommended that apps exercise the permissions workflow as described in the documentation.

Parameters

permissions

the permissions to control and observe.

onPermissionsResult

will be called with whether or not the user granted the permissions after MultiplePermissionsState.launchMultiplePermissionRequest is called.