Instance Property

changeShuffleModeCommand

The command object for changing the shuffle mode.

Declaration

var changeShuffleModeCommand: MPChangeShuffleModeCommand { get }

Discussion

Use the object in this property to register your app’s handler for changing the shuffle mode for the playlist. In your handler, change the shuffle mode to the new value. You can disable the command if your app does not support it.

See Also

Navigating Between Tracks

var nextTrackCommand: MPRemoteCommand

The command object for selecting the next track.

var previousTrackCommand: MPRemoteCommand

The command object for selecting the previous track.

var changeRepeatModeCommand: MPChangeRepeatModeCommand

The command object for changing the repeat mode.