PermissionState

data class PermissionState(val permission: String, val isGranted: Boolean, val isRationaleRequired: Boolean?)

State model of a permission

Constructors

Link copied to clipboard
constructor(permission: String, isGranted: Boolean, isRationaleRequired: Boolean?)

Properties

Link copied to clipboard

State of a permission whether it's granted or not

Link copied to clipboard

Whether to show rationale for a permission or not.

Link copied to clipboard

Name of a permission