Requestable

A Denied State indicating the permission can be granted Use request to request the permission.

Parameters

P

the type of Permission associated with the state

Properties

Link copied to clipboard
abstract val allow: suspend () -> PermissionState.Allowed<P>

Transitions into an Allowed State

Link copied to clipboard
abstract val deinitialize: suspend () -> PermissionState.Deinitialized<P>

Transitions into a Deinitialized State

Link copied to clipboard
abstract val lock: suspend () -> PermissionState.Denied.Locked<P>

Transitions into a Locked State

Functions

Link copied to clipboard
open fun <S : KalugaState> remain(): suspend () -> S
Link copied to clipboard
abstract fun request()

Attempts to request the permission