Status

enum Status

Permission status.

Entries

Link copied to clipboard

Granted.

Link copied to clipboard

Denied for now but you may ask again.

Link copied to clipboard

Denied permanently. The user has to go to settings to grant the permission.

Functions

Link copied to clipboard
open fun isDenied(): Boolean
Check whether the permission was denied.
Link copied to clipboard
Check whether the permission was denied permanently.
Link copied to clipboard
Check whether the permission was denied permanently.
Link copied to clipboard
open fun isGranted(): Boolean
Check whether the permission was granted.
Link copied to clipboard
open fun isPermanent(): Boolean
Check whether this status is permanent.
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.