DesiredAccuracy enum
iOS中期望的定位精度 控制iOS设备的定位精度,精度越高越耗电
Values
- Best → const DesiredAccuracy
-
最高精度 最准确的位置信息,但耗电量最大
-
适用于导航场景的高精度 适合导航应用使用的高精度定位
- NearestTenMeters → const DesiredAccuracy
-
10米 精确到10米范围内,适合大多数应用场景
- HundredMeters → const DesiredAccuracy
-
100米 精确到100米范围内
- Kilometer → const DesiredAccuracy
-
1000米 精确到1公里范围内,耗电量较低
- ThreeKilometers → const DesiredAccuracy
-
3000米 精确到3公里范围内,最省电
Properties
- 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<
DesiredAccuracy> - A constant List of the values in this enum, in order of their declaration.