setRtkLogEnabled static method

Future<void> setRtkLogEnabled(
  1. bool enabled
)

RTK 日志开关。

Platforms:

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

Parameters:

  • enabledtrue 开启 RTK 日志,false 关闭。

Implementation

static Future<void> setRtkLogEnabled(bool enabled) =>
    _platform.setRtkLogEnabled(enabled);