setIosDesiredAccuracy method

Future<void> setIosDesiredAccuracy(
  1. IosDesiredAccuracy accuracy
)

设置围栏检测使用的期望定位精度。

Platforms:

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

Parameters:

  • accuracy:期望的定位精度等级。

Implementation

Future<void> setIosDesiredAccuracy(IosDesiredAccuracy accuracy) =>
    _after(() => _platform.setIosDesiredAccuracy(_id, accuracy));