LocationAccuracy enum

Inheritance

Constructors

LocationAccuracy()
const

Values

powerSave → const LocationAccuracy

To request best accuracy possible with zero additional power consumption

low → const LocationAccuracy

To request "city" level accuracy

balanced → const LocationAccuracy

To request "block" level accuracy

high → const LocationAccuracy

To request the most accurate locations available

To request location for navigation usage (affect only iOS)

reduced → const LocationAccuracy

On iOS 14.0+, this is mapped to kCLLocationAccuracyReduced. See https://developer.apple.com/documentation/corelocation/kcllocationaccuracyreduced

On iOS < 14.0 and Android, this is equivalent to LocationAccuracy.low.

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