AccuracyLevel enum
Specifies the accuracy level for location tracking.
This enum defines the level of precision for collecting location updates. Higher accuracy levels provide more precise location data but may consume more battery.
Values
- low → const AccuracyLevel
-
Low accuracy level.
Suitable for scenarios where approximate location data is sufficient. This mode consumes the least battery.
- medium → const AccuracyLevel
-
Medium accuracy level.
Provides a balance between location precision and battery consumption.
- high → const AccuracyLevel
-
High accuracy level.
Suitable for scenarios requiring precise location data, such as navigation. This mode consumes the most battery.
Properties
- channelName → String
-
Returns the channel name corresponding to the accuracy level.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Constants
-
values
→ const List<
AccuracyLevel> - A constant List of the values in this enum, in order of their declaration.