Class

MPMusicPlayerPlayParametersQueueDescriptor

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

Declaration

@interface MPMusicPlayerPlayParametersQueueDescriptor : MPMusicPlayerQueueDescriptor

Overview

Use this class to modify the player queue created by a query before the queue begins to play. You can modify when individual items start and stop playing, along with setting the first item to be played.

Topics

Creating a New Play Parameters Queue Descriptor

- initWithPlayParametersQueue:

Creates a new queue descriptor using the designated queue of play parameters.

MPMusicPlayerPlayParameters

The MusicKit parameters that describe items to be played.

Accessing the Play Parameters

playParametersQueue

An array containing the play parameters returned from querying MusicKit.

startItemPlayParameters

The item identified by the play parameters that is to be played first.

MPMusicPlayerPlayParameters

The MusicKit parameters that describe items to be played.

Setting Start and End Times

- setStartTime:forItemWithPlayParameters:

Sets the time the item with the associated play parameters is to start playing.

- setEndTime:forItemWithPlayParameters:

Sets the time the item with the associated play parameters is to stop playing.

Relationships

See Also

Media Player Queues

MPMusicPlayerControllerQueue

An immutable queue containing the media items to play.

MPMusicPlayerControllerMutableQueue

A mutable queue containing the media items to play.

MPMusicPlayerApplicationController

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

MPMusicPlayerMediaItemQueueDescriptor

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

MPMusicPlayerStoreQueueDescriptor

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

MPMusicPlayerQueueDescriptor

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