DJI Mobile SDK Documentation

      class DJISpeakerState

      @interface DJISpeakerState : NSObject
      Header:DJISpeaker.h
      Inherits From:NSObject
      Description:

      State of the speaker accessory.

      Class Members:
      Volume
      property
      property volume
      @property (nonatomic, readonly) NSUInteger volume
      Header:DJISpeaker.h
      Description:

      The volume of the speaker to play audio.

      Playing State
      property
      property playingState
      @property (nonatomic, readonly) DJISpeakerPlayingState playingState
      Header:DJISpeaker.h
      Description:

      The audio playing state.

      See Also:

      DJISpeakerPlayingState

      Playing Mode
      property
      property playingMode
      @property (nonatomic, readonly) DJISpeakerPlayMode playingMode
      Header:DJISpeaker.h
      Description:

      The playing mode of the speaker.

      See Also:

      DJISpeakerPlayMode

      Playing Index
      property
      property playingIndex
      @property (nonatomic, readonly) NSInteger playingIndex
      Header:DJISpeaker.h
      Description:

      The index of the audio media file being played. If the speaker is not playing any files, -1 will be returned.

      Audio Storage Location
      property
      property audioStorageLocation
      @property (nonatomic, readonly) DJIAudioStorageLocation audioStorageLocation
      Header:DJISpeaker.h
      Description:

      The storage location of the file that is being played by the speaker.

      See Also:

      DJIAudioStorageLocation