DJI Mobile SDK Documentation

      class BatteryChargeRemainingCallback

      interface BatteryChargeRemainingCallback
      Package:dji.sdk.gimbal
      Description:

      Gimbal energy remaining of Ronin MX in percent.

      Class Members:

      Protocol Method

      State
      method
      method onUpdate
      void onUpdate(@IntRange(from = 0, to = 100) int remainingChargeInPercent)
      Package:dji.sdk.gimbal
      Description:

      Update the gimbal's remaining energy in percentage.

      Input Parameters:
      @IntRange(from = 0, to = 100) int remainingChargeInPercentAn int value.
      method setStiffnessSelfTuningCallback
      void setStiffnessSelfTuningCallback(@Nullable GimbalControlParametersAutoTuningState.Callback callback)
      Package:dji.sdk.gimbal
      Description:

      Set listener for updating the gimbal's control parameters auto tuning state.

      Input Parameters:
      @Nullable GimbalControlParametersAutoTuningState.Callback callbackA GimbalControlParametersAutoTuningState callback.
      method setBalanceCheckCallback
      void setBalanceCheckCallback(@Nullable GimbalBalanceDetectionState.Callback callback)
      Package:dji.sdk.gimbal
      Description:

      Set listener for updating the gimbal's balance detection state.

      Input Parameters:
      @Nullable GimbalBalanceDetectionState.Callback callbackA GimbalBalanceDetectionState callback.
      method setConcentricityCheckCallback
      void setConcentricityCheckCallback(@Nullable GimbalCoaxialityDetectionState.Callback callback)
      Package:dji.sdk.gimbal
      Description:

      Set listener for updating the gimbal's coaxiality detection state.

      Input Parameters:
      @Nullable GimbalCoaxialityDetectionState.Callback callbackA GimbalCoaxialityDetectionState callback.