AMapLocationAccuracyMode enum

Inheritance

Constructors

AMapLocationAccuracyMode()
const

Values

fullAndReduceAccuracy → const AMapLocationAccuracyMode

默认模式,该模式下会申请临时精确定位权限,如果用户拒绝,则依然开启定位,回调模糊定位数据;

fullAccuracy → const AMapLocationAccuracyMode

高精度模式,该模式下会申请临时精确定位权限,如果用户拒绝,则回调error;

reduceAccuracy → const AMapLocationAccuracyMode

低精度模式,该模式下不会申请临时精确定位权限,根据当前定位权限回调定位数据;

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<AMapLocationAccuracyMode>
A constant List of the values in this enum, in order of their declaration.