DJI Mobile SDK Documentation

      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
      boolean isTTSEnabled()
      Package:dji.v5.manager.aircraft.payload.widget
      Description:

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

      Return:
      booleanReturns whether the TTS function is enabled for the speaker widget.
      method isVoiceEnabled
      boolean isVoiceEnabled()
      Package:dji.v5.manager.aircraft.payload.widget
      Description:

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

      Return:
      booleanReturns whether the voice function is enabled for the speaker widget.