PermissionState

A KalugaState of a Permission

Parameters

P

the type of Permission associated with the state

Inheritors

Types

Link copied to clipboard

A PermissionState indicating observation has started

Link copied to clipboard

A Initialized State indicating the permission has been granted

Link copied to clipboard

A Inactive State indicating observation has stopped after being started

Link copied to clipboard

A Initialized State indicating the permission has been denied.

Link copied to clipboard

A PermissionState indicating observation is not active

Link copied to clipboard

An Active State indicating observation has started and initialization has completed

Link copied to clipboard

An Active State indicating the state is transitioning from Inactive to Initialized

Link copied to clipboard

A Inactive State indicating observation has not started yet

Functions

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