PermissionStatus

@Stable()
interface PermissionStatus

Model of the status of a permission. It can be granted or denied. If denied, the user might need to be presented with a rationale.

Types

Denied
Link copied to clipboard
data class Denied(shouldShowRationale: Boolean) : PermissionStatus
Granted
Link copied to clipboard
object Granted : PermissionStatus

Inheritors

PermissionStatus
Link copied to clipboard
PermissionStatus
Link copied to clipboard

Extensions

isGranted
Link copied to clipboard
val PermissionStatus.isGranted: Boolean
true if the permission is granted.
shouldShowRationale
Link copied to clipboard
val PermissionStatus.shouldShowRationale: Boolean
true if a rationale should be presented to the user.