Instance Property

changeRepeatModeCommand

The command object for changing the repeat mode.

Declaration

var changeRepeatModeCommand: MPChangeRepeatModeCommand { get }

Discussion

Use the object in this property to register your app’s handler for changing the repeat mode for the playlist. In your handler, change the repeat 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 changeShuffleModeCommand: MPChangeShuffleModeCommand

The command object for changing the shuffle mode.