PermissionStatus enum

Status of a permission request to use location services.

Inheritance

Constructors

PermissionStatus()
const

Values

notDetermined → const PermissionStatus

User has not yet made a choice with regards to this application

restricted → const PermissionStatus

This application is not authorized to use precise

denied → const PermissionStatus

User has explicitly denied authorization for this application, or location services are disabled in Settings.

authorizedAlways → const PermissionStatus

User has granted authorization to use their location at any time. Your app may be launched into the background by monitoring APIs such as visit monitoring, region monitoring, and significant location change monitoring.

authorizedWhenInUse → const PermissionStatus

User has granted authorization to use their location only while they are using your app.

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<PermissionStatus>
A constant List of the values in this enum, in order of their declaration.