PermissionsResultStatus

enum PermissionsResultStatus : Enum


Statuses for a permissions request.

Summary

Enum Values

CANCELLED

The user has cancelled the permissions flow.

ERROR

An error occurred during the permissions flow.

SUCCESS

Permissions successfully granted.

Public functions

PermissionsResultStatus
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<PermissionsResultStatus>

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

CANCELLED

val PermissionsResultStatus.CANCELLEDPermissionsResultStatus

The user has cancelled the permissions flow.

ERROR

val PermissionsResultStatus.ERRORPermissionsResultStatus

An error occurred during the permissions flow.

SUCCESS

val PermissionsResultStatus.SUCCESSPermissionsResultStatus

Permissions successfully granted.

Public functions

valueOf

fun valueOf(value: String): PermissionsResultStatus

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.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<PermissionsResultStatus>

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.