AMapLocationMode enum

android 定位模式,目前支持三种定位模式

Inheritance

Constructors

AMapLocationMode()
const

Values

batterySaving → const AMapLocationMode

低功耗定位模式: 在这种模式下,将只使用高德网络定位

deviceSensors → const AMapLocationMode

仅设备定位模式: 在这种模式下,将只使用卫星定位。

heightAccuracy → const AMapLocationMode

高精度定位模式: 在这种定位模式下,将同时使用高德网络定位和卫星定位,优先返回精度高的定位

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