LocationCode class

Constructors

LocationCode.new()

Properties

hashCode int
The hash code for this object.
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

ERROR_BAD_JSON → const int
GPS, Wi-Fi 或基站错误引起的定位失败: 1、用户的手机确实采集不到定位凭据,比如偏远地区比如地下车库电梯内等; 2、开关跟权限问题,比如用户关闭了位置信息,关闭了Wi-Fi,未授予app定位权限等。
ERROR_NETWORK → const int
网络问题引起的定位失败
ERROR_OK → const int
定位成功
ERROR_UNKNOWN → const int
未知原因引起的定位失败
ERROR_WGS84 → const int
无法将WGS84坐标转换成GCJ-02坐标时的定位失败