getAllGeofences method

Future<List<TencentGeofence>> getAllGeofences()

获取本实例上所有有效围栏。

Platforms:

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

Returns:

  • 当前实例下所有处于有效状态的围栏列表,顺序与添加顺序无关。

Implementation

Future<List<TencentGeofence>> getAllGeofences() =>
    _after(() => _platform.getAllGeofences(_id));