XbrGaodeLocation class

Constructors

XbrGaodeLocation({String? fullAccuracyPurposeKey})

Properties

clientMap Map<String, AMapFlutterLocation>
getter/setter pair
currentLocation LocationInfo?
工厂对象
getter/setter pair
fullAccuracyPurposeKey String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroyLocation({required String clientKey}) → void
优化 多线程
execOnceLocation({String clientKey = "onceLocation", AMapLocationMode locationMode = AMapLocationMode.Hight_Accuracy, DesiredAccuracy desiredAccuracy = DesiredAccuracy.Best, required LocationCallback callback}) → void
获取一次定位
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startTimeLocation({String clientKey = "singleTimeLocation", int interval = 2000, double distance = -1, AMapLocationMode locationMode = AMapLocationMode.Hight_Accuracy, DesiredAccuracy desiredAccuracy = DesiredAccuracy.Best, required LocationCallback callback}) → void
开始定位
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

initKey({required String androidKey, required String iosKey}) → void
instance() XbrGaodeLocation
updatePrivacy({required bool hasContains, required bool hasShow, required bool hasAgree}) → void