initialize
abstract fun initialize(allowed: Boolean, locked: Boolean): suspend () -> PermissionState.Initialized<P>
Transitions into an Initialized state
Return
the method for transitioning into an Initialized State
Parameters
allowed
if true
the permission is currently granted
locked
if true
and allowed is false
, this indicates the permission can not be requested.