setIosDesiredAccuracy method
- IosDesiredAccuracy accuracy
设置围栏检测使用的期望定位精度。
Platforms:
- 🅰️ Android:不支持,抛出
TencentLocationError(错误码unsupportedOnThisPlatform) - 🍏 iOS:支持
- 🔶 Harmony:不支持,抛出
TencentLocationError(错误码unsupportedOnThisPlatform)
Parameters:
accuracy:期望的定位精度等级。
Implementation
Future<void> setIosDesiredAccuracy(IosDesiredAccuracy accuracy) =>
_after(() => _platform.setIosDesiredAccuracy(_id, accuracy));