MultiplePermissionsState

@Stable()
interface MultiplePermissionsState

A state object that can be hoisted to control and observe multiple permissions status changes.

In most cases, this will be created via rememberMultiplePermissionsState.

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

Functions

launchMultiplePermissionRequest
Link copied to clipboard
abstract fun launchMultiplePermissionRequest()
Request the permissions to the user.

Properties

allPermissionsGranted
Link copied to clipboard
abstract val allPermissionsGranted: Boolean
When true, the user has granted all permissions.
permissionRequested
Link copied to clipboard
abstract val permissionRequested: Boolean
When true, the permissions request has been done previously.
permissions
Link copied to clipboard
abstract val permissions: List<PermissionState>
List of all permissions to request.
revokedPermissions
Link copied to clipboard
abstract val revokedPermissions: List<PermissionState>
List of permissions revoked by the user.
shouldShowRationale
Link copied to clipboard
abstract val shouldShowRationale: Boolean
When true, the user should be presented with a rationale.