# 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

###### method getWidgetName

    String getWidgetName()

Package: | dji.v5.manager.aircraft.payload.widget

##### Description:

Gets the name of the payload widget.

##### Return:

String | Returns the name of the payload widget.

method
getWidgetType

###### method getWidgetType

    WidgetType getWidgetType()

Package: | dji.v5.manager.aircraft.payload.widget

##### Description:

Gets the type of the payload widget.

##### Return:

WidgetType | Returns the type of the payload widget.

method
getWidgetIndex

###### method getWidgetIndex

    int getWidgetIndex()

Package: | dji.v5.manager.aircraft.payload.widget

##### Description:

Gets the index of the payload widget.

##### Return:

int | Returns the index of the payload widget.

method
getWidgetValue

###### method getWidgetValue

    int getWidgetValue()

Package: | dji.v5.manager.aircraft.payload.widget

##### Description:

Gets the value of the payload widget.

##### Return:

int | Returns the value of the payload widget.

method
getIconFilePath

###### method getIconFilePath

    IconFilePath getIconFilePath()

Package: | dji.v5.manager.aircraft.payload.widget

##### Description:

Gets the payload icon file path.

##### Return:

IconFilePath | Returns the payload icon file path.

method
getHintMessage

###### method getHintMessage

    String getHintMessage()

Package: | dji.v5.manager.aircraft.payload.widget

##### Description:

Gets the payload widget hint message.

##### Return:

String | Returns the payload widget hint message.

method
getSubItemsList

###### 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.

×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found