# class SpeakerWidget

    class SpeakerWidget

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

##### Description:

Widget of the speaker type.
`Supported since MSDK 5.2.0`

##### Class Members:

#### Members

method
isTTSEnabled

###### method isTTSEnabled

    boolean isTTSEnabled()

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

##### Description:

Gets whether the TTS function is enabled for the speaker widget.

##### Return:

boolean | Returns whether the TTS function is enabled for the speaker widget.

method
isVoiceEnabled

###### method isVoiceEnabled

    boolean isVoiceEnabled()

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

##### Description:

Gets whether the voice function is enabled for the speaker widget.

##### Return:

boolean | Returns whether the voice function is enabled for the speaker 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