Enumeration

MPMusicShuffleMode

The shuffle modes for the media player.

Declaration

typedef enum MPMusicShuffleMode : NSInteger {
    ...
} MPMusicShuffleMode;

Topics

Constants

MPMusicShuffleModeDefault

The user’s preferred shuffle mode.

MPMusicShuffleModeOff

The playlist is not shuffled.

MPMusicShuffleModeSongs

The playlist is shuffled by song.

MPMusicShuffleModeAlbums

The playlist is shuffled by album.

See Also

Managing Playback Mode and State

nowPlayingItem

The currently-playing media item, or the media item, within a queue, that you have designated to begin playback with.

indexOfNowPlayingItem

The index of the now playing item in the current playback queue.

playbackState

The current playback state of the music player.

repeatMode

The current repeat mode of the music player.

shuffleMode

The current shuffle mode of the music player.

MPMusicPlaybackState

The music player playback state modes.

MPMusicRepeatMode

The repeat modes for the media player.

volume

The audio playback volume for the music player, in the range from 0.0 (silent) through 1.0 (maximum volume).

Deprecated