pauseMonitoring method

Future<void> pauseMonitoring()

暂停围栏监控(保留围栏数据,仅暂停位置检测)。

Platforms:

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

Implementation

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