DJI Mobile SDK Documentation

      class FirmwareUpgradeProgress

      class FirmwareUpgradeProgress
      Package:dji.sdk.upgrade.component.model
      Description:

      Firmware upgrade progress.

      Class Members:
      method getProgress
      @FloatRange(from = 0.0, to = 1.0)
      float getProgress()
      Package:dji.sdk.upgrade.component.model
      Description:

      The progress of upgrading firmware.

      Return:
      floatA float value.
      method
      method getState
      @Nullable
      UpgradingProgressState getState()
      Package:dji.sdk.upgrade.component.model
      Description:

      The state of upgrading firmware.

      Return:
      UpgradingProgressStateAn enum value of UpgradingProgressState.