Enum LocationPermissionState
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum LocationPermissionState extends Enum<LocationPermissionState>
Represents the permission states for Location WhileInUse - when location permission is granted and set as
WhileInUse
. Always - when location permission is granted and set asAlways
. Indeterminate - when location permission is either not granted or set to anything else apart from above cases.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
name
private final Integer
ordinal
private final EnumEntries<LocationPermissionState>
entries
-
Enum Constant Summary
Enum Constants Enum Constant Description WhileInUse
Always
Indeterminate
-
Method Summary
Modifier and Type Method Description final LocationPermissionState
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<LocationPermissionState>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<LocationPermissionState>
getEntries()
Represents the permission states for Location WhileInUse - when location permission is granted and set as WhileInUse
.-
-
Method Detail
-
valueOf
final LocationPermissionState valueOf(String value)
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.)
-
values
final Array<LocationPermissionState> values()
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.
-
getEntries
final EnumEntries<LocationPermissionState> getEntries()
Represents the permission states for Location WhileInUse - when location permission is granted and set as
WhileInUse
. Always - when location permission is granted and set asAlways
. Indeterminate - when location permission is either not granted or set to anything else apart from above cases.
-
-
-
-