DJI Mobile SDK Documentation

      class PayloadWidget

      class PayloadWidget
      Package:dji.v5.manager.aircraft.payload.widget
      Description:

      Widget of the payload type.

      Supported since MSDK 5.2.0

      Class Members:

      Members

      method getWidgetName
      String getWidgetName()
      Package:dji.v5.manager.aircraft.payload.widget
      Description:

      Gets the name of the payload widget.

      Return:
      StringReturns the name of the payload widget.
      method getWidgetType
      WidgetType getWidgetType()
      Package:dji.v5.manager.aircraft.payload.widget
      Description:

      Gets the type of the payload widget.

      Return:
      WidgetTypeReturns the type of the payload widget.
      method getWidgetIndex
      int getWidgetIndex()
      Package:dji.v5.manager.aircraft.payload.widget
      Description:

      Gets the index of the payload widget.

      Return:
      intReturns the index of the payload widget.
      method getWidgetValue
      int getWidgetValue()
      Package:dji.v5.manager.aircraft.payload.widget
      Description:

      Gets the value of the payload widget.

      Return:
      intReturns the value of the payload widget.
      method getIconFilePath
      IconFilePath getIconFilePath()
      Package:dji.v5.manager.aircraft.payload.widget
      Description:

      Gets the payload icon file path.

      Return:
      IconFilePathReturns the payload icon file path.
      method getHintMessage
      String getHintMessage()
      Package:dji.v5.manager.aircraft.payload.widget
      Description:

      Gets the payload widget hint message.

      Return:
      StringReturns the payload widget hint message.
      method getSubItemsList
      List<SubItems> getSubItemsList()
      Package:dji.v5.manager.aircraft.payload.widget
      Description:

      Gets the sub items list of payload widget.

      Return:
      List<SubItems>Returns the sub items list of payload widget.