PermissionState

@Stable()
interface PermissionState

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

In most cases, this will be created via rememberPermissionState.

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

Functions

launchPermissionRequest
Link copied to clipboard
abstract fun launchPermissionRequest()
Request the permission to the user.

Properties

permission
Link copied to clipboard
abstract val permission: String
The permission to control and observe.
status
Link copied to clipboard
abstract val status: PermissionStatus
permission's status