KeyManager LED Settings

已完成

评论

1 条评论

  • DJI Developer Support

    Please refer to the code below:

    var param = LEDsSettings()
    param.setNavigationLEDsOn(true)
    KeyManager.getInstance().setValue(
    KeyTools.createKey(FlightControllerKey.KeyLEDsSettings), param,
    object : CompletionCallback {
    override fun onSuccess()
    { Log.i("Success", "") }
    override fun onFailure(error: IDJIError)
    { Log.i("Failed", "${error.errorCode()}")
    Log.i("Failed", "${error.description()}") } })
    0
    评论操作 固定链接

请先登录再写评论。