Class

MPMusicPlayerControllerQueue

An immutable queue containing the media items to be played by an application queue media player.

Declaration

class MPMusicPlayerControllerQueue : NSObject

Overview

An MPMusicPlayerControllerQueue object contains the current queue for an application queue music player. To add or remove media items from a playing queue, use perform(queueTransaction:completionHandler:). The results of the method is an MPMusicPlayerControllerQueue object that updates the playing queue. You do not create your own instance of this class.

Topics

Inspecting Queue Media Items

var items: [MPMediaItem]

The media items in the queue.

Relationships

Inherits From

Conforms To

See Also

Media Player Queues

class MPMusicPlayerControllerMutableQueue

A mutable queue containing the media items to be played by the media player.

class MPMusicPlayerApplicationController

A media player object that you use to revise the queue that is 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.

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