DesiredAccuracy enum
Represents the desired location accuracy level for GeoConfig.desiredAccuracy.
Each value maps to the legacy integer that the native layer understands.
Values
-
(iOS only) Highest possible accuracy for turn‑by‑turn navigation.
const DesiredAccuracy(Config.DESIRED_ACCURACY_NAVIGATION) - high → const DesiredAccuracy
-
High accuracy using GPS + Wi‑Fi + cellular.
const DesiredAccuracy(Config.DESIRED_ACCURACY_HIGH) - medium → const DesiredAccuracy
-
Medium accuracy using Wi‑Fi + cellular.
const DesiredAccuracy(Config.DESIRED_ACCURACY_MEDIUM) - low → const DesiredAccuracy
-
Low accuracy using low‑power Wi‑Fi + cellular.
const DesiredAccuracy(Config.DESIRED_ACCURACY_LOW) - veryLow → const DesiredAccuracy
-
Very low accuracy, primarily using cellular.
const DesiredAccuracy(Config.DESIRED_ACCURACY_VERY_LOW) - lowest → const DesiredAccuracy
-
(iOS only) Lowest possible accuracy; minimum power use.
const DesiredAccuracy(Config.DESIRED_ACCURACY_LOWEST)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Static Methods
-
from(
dynamic v) → DesiredAccuracy - Convert a dynamic incoming value into DesiredAccuracy. Accepts enum, int id, or string case-name (e.g., "high").
Constants
-
values
→ const List<
DesiredAccuracy> - A constant List of the values in this enum, in order of their declaration.