The MusicKit parameters that describe items to be played.


class MPMusicPlayerPlayParameters : NSObject


Creating the Play Parameters

init?(dictionary: [String : Any])

Returns a new play parameters object using information from MusicKit.

Accessing the Play Parameters

var dictionary: [String : Any]

The information returned from a MusicKit query and stored in a play parameters object.

Encoding and Decoding

init(from: Decoder)

Creates a new parameters object by decoding from the given decoder.

func encode(to: Encoder)

Encodes the parameters object into the given encoder.


Inherits From

See Also

Creating a New Play Parameters Queue Descriptor

init(playParametersQueue: [MPMusicPlayerPlayParameters])

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