DJI Mobile SDK Documentation

      class UpgradeableComponent

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

      Upgradable component information class. It is used to obtain the type of the upgradeable component, whether it is upgradeable or not, the current firmware version and release note, and the latest firmware version and release note on the server.

      Supported since MSDK 5.1.0

      Class Members:
      method getComponentType
      ComponentType getComponentType()
      Package:dji.v5.manager.aircraft.upgrade
      Description:

      Gets the Component type.

      Return:
      ComponentTypeReturns the Component type.
      method
      method getState
      UpgradeableComponentState getState()
      Package:dji.v5.manager.aircraft.upgrade
      Description:

      Gets the upgradeable state.

      Return:
      UpgradeableComponentStateReturns the upgradeable state.
      method getFirmwareInformation
      FirmwareInformation getFirmwareInformation()
      Package:dji.v5.manager.aircraft.upgrade
      Description:

      Gets the current firmware information.

      Return:
      FirmwareInformationReturns the current firmware information.
      method getLatestFirmwareInformation
      FirmwareInformation getLatestFirmwareInformation()
      Package:dji.v5.manager.aircraft.upgrade
      Description:

      Gets the latest firmware information.

      Return:
      FirmwareInformationReturns the latest firmware information.