AMapLocationMode enum

Android端定位模式 用于设置Android设备的定位模式

Inheritance
Available extensions

Values

Battery_Saving → const AMapLocationMode

低功耗模式 优先使用网络定位,准确度较差但耗电量低

Device_Sensors → const AMapLocationMode

仅设备模式,不支持室内环境的定位 只使用GPS进行定位,在室外准确度高,但耗电量大

Hight_Accuracy → const AMapLocationMode

高精度模式 同时使用网络和GPS定位,准确度高但耗电量也大

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