startMonitoring method

Future<void> startMonitoring()

开始监控本实例上已添加的所有围栏。

Platforms:

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

Implementation

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