Instance Method

initWithPlayParametersQueue:

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

Declaration

- (instancetype)initWithPlayParametersQueue:(NSArray<MPMusicPlayerPlayParameters *> *)playParametersQueue;

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

MPMusicPlayerPlayParameters

The MusicKit parameters that describe items to be played.