Class

MPMusicPlayerControllerMutableQueue

A mutable queue containing the media items to play.

Declaration

class MPMusicPlayerControllerMutableQueue : MPMusicPlayerControllerQueue

Topics

Adding and Removing Items

func insert(MPMusicPlayerQueueDescriptor, after: MPMediaItem?)

Inserts a modified queue after the designated media item.

func remove(MPMediaItem)

Removes a media item from the music player's queue.

Relationships

Conforms To

See Also

Media Player Queues

class MPMusicPlayerControllerQueue

An immutable queue containing the media items to play.

class MPMusicPlayerApplicationController

A media player object that you use to revise the queue that’s currently playing.

class MPMusicPlayerMediaItemQueueDescriptor

A set of properties and methods used to modify audio media items in the player’s media queue.

class MPMusicPlayerStoreQueueDescriptor

A set of properties and methods used to modify items, based on their store identifier, in the player’s queue.

class MPMusicPlayerPlayParametersQueueDescriptor

A set of properties and methods used to modify how items are played, based on play parameters returned from MusicKit API results.

class MPMusicPlayerQueueDescriptor

The abstract base class for audio media item and store queue descriptors.