setRtkLogEnabled static method
- bool enabled
RTK 日志开关。
Platforms:
- 🅰️ Android:支持
- 🍏 iOS:不支持,抛出
TencentLocationError(错误码unsupportedOnThisPlatform) - 🔶 Harmony:不支持,抛出
TencentLocationError(错误码unsupportedOnThisPlatform)
Parameters:
enabled:true开启 RTK 日志,false关闭。
Implementation
static Future<void> setRtkLogEnabled(bool enabled) =>
_platform.setRtkLogEnabled(enabled);