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

- (void)skipToNextItem;

Discussion

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

See Also

Controlling Playback

- skipToBeginning

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

- 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.

- appendQueueDescriptor:

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

- prependQueueDescriptor:

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software