Instance Method

append(_:)

Inserts the media items defined by the queue descriptor after the last media item in the current queue.

Declaration

func append(_ descriptor: MPMusicPlayerQueueDescriptor)

See Also

Controlling Playback

func skipToNextItem()

Starts playback of the next media item in the playback queue; or, the music player is not playing, designates the next media item as the next to be played.

func skipToBeginning()

Restarts playback at the beginning of the currently playing media item.

func skipToPreviousItem()

Starts playback of the previous media item in the playback queue; or, the music player is not playing, designates the previous media item as the next to be played.

func prepend(MPMusicPlayerQueueDescriptor)

Inserts the media items defined by the queue descriptor into the current queue immediately after the currently playing media item.