stopBackgroundLocationTask method
停止后台定位任务。
Platforms:
- 🅰️ Android:不支持,抛出
TencentLocationError(错误码unsupportedOnThisPlatform) - 🍏 iOS:不支持,抛出
TencentLocationError(错误码unsupportedOnThisPlatform) - 🔶 Harmony:支持
Implementation
Future<void> stopBackgroundLocationTask() =>
_after(() => _platform.stopBackgroundLocationTask(_id));