LocationPermission enum
Represent the possible location permissions.
Constructors
- LocationPermission()
-
const
Values
- denied → const LocationPermission
-
This is the initial state on both Android and iOS, but on Android the user can still choose to deny permissions, meaning the App can still request for permission another time.
- deniedForever → const LocationPermission
-
Permission to access the device's location is permenantly denied. When requestiong permissions the permission dialog will not been shown until the user updates the permission in the App settings.
- whileInUse → const LocationPermission
-
Permission to access the device's location is allowed only while the App is in use.
- always → const LocationPermission
-
Permission to access the device's location is allowed even when the App is running in the background.
Properties
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<
LocationPermission> - A constant List of the values in this enum, in order of their declaration.