Initializer

init(dictionary:)

Returns a new play parameters object using information from MusicKit.

Declaration

init?(dictionary: [String : Any])

Parameters

dictionary

The JSON information returned from a MusicKit query.

Return Value

A new play parameters object consisting of the information retrieved from MusicKit.

Discussion

Create a new MPMusicPlayerPlayParameters object using the JSON information returned from a MusicKit query.