Instance Method

setQueueWithDescriptor:

Set the music player's playback queue using media items that fit the queue descriptor properties.

Declaration

- (void)setQueueWithDescriptor:(MPMusicPlayerQueueDescriptor *)descriptor;

Parameters

descriptor

A queue descriptor used to add media items to the playback queue.

Discussion

To begin playback after establishing a playback queue, call prepareToPlay.

See Also

Setting Up a Playback Queue

- setQueueWithQuery:

Sets a music player’s playback queue based on a media query.

- setQueueWithItemCollection:

Sets a music player’s playback queue using a media item collection.

- setQueueWithStoreIDs:

Sets a music player's playback queue using with media items identified by the store identifiers.