Instance Method

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.

Declaration

func skipToNextItem()

Discussion

When this method is called, playback ends when already at the last item in the playback queue.

See Also

Controlling Playback

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 append(MPMusicPlayerQueueDescriptor)

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

func prepend(MPMusicPlayerQueueDescriptor)

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