LocationAccuracy enum
Precision of the Location. A lower precision will provide a greater battery life.
https://developers.google.com/android/reference/com/google/android/gms/location/LocationRequest https://developer.apple.com/documentation/corelocation/cllocationaccuracy?language=objc
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
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.