Instance Property


A delegate that lets the media player manage the app’s playback queue.


weak var delegate: MPPlayableContentDelegate? { get set }


The delegate responds to external events that trigger a change in the media item that is currently playing. An example of such an event would be choosing to play a song from a different album, or requesting suggested content to play next. The app must be able to respond to these events at any time.

To instead respond to events that affect the playback state of the currently playing item, use the MPRemoteCommandEvent class.

See Also

Responding to Playback Events

protocol MPPlayableContentDelegate

The protocol used to let external media players send playback commands to an app.