Denied

A Initialized State indicating the permission has been denied.

Parameters

P

the type of Permission associated with the state

Inheritors

Types

Link copied to clipboard

A Denied State indicating the permission cannot be granted

Link copied to clipboard

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

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

Functions

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