PermissionState

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

In most cases, this will be created via usePermission.

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

Properties

Link copied to clipboard
abstract val permission: String

The permission to request and observe.

Link copied to clipboard
abstract val status: PermissionStatus

The status of permission.

Functions

Link copied to clipboard
abstract fun requestPermission()

Request the permission to the user.