DJI Mobile SDK Documentation

      class PayloadBasicInfo

      class PayloadBasicInfo
      Package:dji.v5.manager.aircraft.payload.data
      Description:

      Payload basic information class.

      Supported since MSDK 5.2.0

      Class Members:

      Members

      method isConnected
      boolean isConnected()
      Package:dji.v5.manager.aircraft.payload.data
      Description:

      Gets whether the payload is connected.

      Return:
      booleanReturns whether the payload is connected.
      method getPayloadType
      PayloadType getPayloadType()
      Package:dji.v5.manager.aircraft.payload.data
      Description:

      Gets the paylaod type.

      Return:
      PayloadTypeReturns the payload type.
      method getPayloadProductName
      String getPayloadProductName()
      Package:dji.v5.manager.aircraft.payload.data
      Description:

      Gets the product name defined by the payload manufacturer.

      Return:
      StringReturns the product name defined by the payload manufacturer.
      method getPayloadProductPhaseType
      PayloadProductPhaseType getPayloadProductPhaseType()
      Package:dji.v5.manager.aircraft.payload.data
      Description:

      Gets the current payload product phase.

      Return:
      PayloadProductPhaseTypeReturns the current payload product phase.
      method isFeatureOpened
      boolean isFeatureOpened()
      Package:dji.v5.manager.aircraft.payload.data
      Description:

      Get the paylaod product feature open status. If the feature of the product is not fully turned on, the following are the possible reasons.

    • 1. The PSDK is not bound.
    • 2. The payload status is abnormal, please check the application LOG of the payload.
    • 3. The encryption chip is abnormal, please contact the technical support.</ li>
    • 4. The aircraft does not support this payload.
    • Return:
      booleanReturn to the product feature open status.
      method getSerialNumber
      String getSerialNumber()
      Package:dji.v5.manager.aircraft.payload.data
      Description:

      Gets the payload serial number.

      Return:
      StringReturns the payload serial number.
      method getFirmwareVersion
      String getFirmwareVersion()
      Package:dji.v5.manager.aircraft.payload.data
      Description:

      Gets the payload Firmware version.

      Return:
      StringReturns the payload Firmware version.