LocationAccuracy enum

Indicates the desired location accuracy, however the actual accuracy is not guaranteed.

When requesting high-accuracy locations, the initial update delivered by the LocationEngine may not have the requested accuracy. Requesting higher accuracy location updates usually means higher power consumption, therefore you should use the lowest accuracy suitable for your use case to preserve the device battery.

Values

bestAvailable → const LocationAccuracy
subMeterNavigation → const LocationAccuracy

Decimeter accurate navigation using satellite and WiFi positioning. Additional sensor data may be used for improving positioning accuracy. Update frequency is as close to once per second as possible. This feature requires Android 12 or later and dual frequency GNSS receiver and raw GNSS measurements. This feature is disabled by default: Contact us to enable it. If it is not enabled or the OS/device requirements are not met, fallback to other positioning technologies may occur and desired accuracy level may not be reached.

Not supported in iOS.

tensOfMeters → const LocationAccuracy

Accurate to within tens of meters of the desired target.

hundredsOfMeters → const LocationAccuracy

Accurate to within hundreds of meters of the desired target.

kilometers → const LocationAccuracy

Accurate to within kilometers of the desired target.

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.