DJI Mobile SDK Documentation

      class DUXSpeakerWidget

      @interface DUXSpeakerWidget : DUXWidget
      Header:DUXSpeakerWidget.h
      Inherits From:DUXWidget
      Description:

      Tapping the widget opens the speaker settings panel. The widget will be hidden automatically if the accessory is not present or not supported.

      Class Members:
      property
      property isSupported
      @property (readonly) BOOL isSupported
      Header:DUXSpeakerWidget.h
      Description:

      YES if speaker accessory is supported, NO otherwise.

      property
      property isEnabled
      @property (readonly) BOOL isEnabled
      Header:DUXSpeakerWidget.h
      Description:

      Current state of the speaker accessory. It will be toggled when user taps on the widget.