LocationAuthorizationStatus enum

The status of the location service authorization.

Inheritance

Constructors

LocationAuthorizationStatus()
const

Values

notDetermined → const LocationAuthorizationStatus

The authorization of the location service is not determined.

restricted → const LocationAuthorizationStatus

This app is not authorized to use location.

denied → const LocationAuthorizationStatus

User explicitly denied the location service.

authorizedAlways → const LocationAuthorizationStatus

User authorized the app to access the location at any time.

authorizedWhenInUse → const LocationAuthorizationStatus

User authorized the app to access the location when the app is visible to them.

unknown → const LocationAuthorizationStatus

Status unknown.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<LocationAuthorizationStatus>
A constant List of the values in this enum, in order of their declaration.