DJI Mobile SDK Documentation

      class UpgradeInfo

      class UpgradeInfo
      Package:dji.v5.manager.aircraft.upgrade
      Description:

      Upgrade progress information class.

      Supported since MSDK 5.3.0

      Class Members:
      method getProgress
      int getProgress()
      Package:dji.v5.manager.aircraft.upgrade
      Description:

      Gets the upgrade progress percentage.

      Return:
      intReturns the upgrade progress percentage.
      method getUpgradeState
      UpgradeProgressState getUpgradeState()
      Package:dji.v5.manager.aircraft.upgrade
      Description:

      Gets the upgrade state.

      Return:
      UpgradeProgressStateReturns the upgrade state.
      method
      method getError
      UpgradeError getError()
      Package:dji.v5.manager.aircraft.upgrade
      Description:

      Gets errors during the upgrade process.

      Return:
      UpgradeErrorReturns errors during the upgrade process.