Initializer

init(playParametersQueue:)

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

Declaration

init(playParametersQueue: [MPMusicPlayerPlayParameters])

Parameters

playParametersQueue

An array of play parameters created from the JSON information returned from a MusicKit query and used to populate the queue descriptor.

Return Value

A new queue descriptor consisting of the items described by the play parameters.

See Also

Creating a New Play Parameters Queue Descriptor

class MPMusicPlayerPlayParameters

The MusicKit parameters that describe items to be played.