stopMonitoring method

Future<void> stopMonitoring()

停止监控所有围栏。

Platforms:

  • 🅰️ Android:不支持,抛出 TencentLocationError(错误码 unsupportedOnThisPlatform
  • 🍏 iOS:支持
  • 🔶 Harmony:不支持,抛出 TencentLocationError(错误码 unsupportedOnThisPlatform

Implementation

Future<void> stopMonitoring() =>
    _after(() => _platform.stopMonitoring(_id));