deny

abstract fun deny(locked: Boolean): suspend () -> PermissionState.Denied<P>

Transitions into a Denied State

Return

the method for transitioning into a Denied State

Parameters

locked

if true this indicates the permission can not be requested again