XbrLocation class
Methods
-
destroyBackgroundLocation()
→ void
-
摧毁后台进程定位
-
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
-
startBackgroundLocation({int interval = 2000, double distance = -1, AMapLocationMode locationMode = AMapLocationMode.Hight_Accuracy, DesiredAccuracy desiredAccuracy = DesiredAccuracy.Best, required LocationCallback callback})
→ void
-
开启后台进程定位
-
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