TencentLBSLocMode class

Constructors

TencentLBSLocMode.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

HIGH_ACCURACY_MODE → const int
高精度定位模式,将同时使用网络定位和卫星定位,优先返回精度高的定位
ONLY_GPS_MODE → const int
仅GPS定位模式,将只返回GPS定位结果,在室外可提升定位精度(约3~10米),GPS首次获取位置较慢且耗电较高(请求定位未获得GPS结果或GPS丢失后,如果超时时间内无GPS结果,则返回网络定位结果,超时时间为8s)
ONLY_NETWORK_MODE → const int
仅网络定位模式,将不启动gps定位,只使用网络定位,可以减少耗电量,但定位精度有所降低