Instance Method

prepareToPlay

Prepares a music player for playback.

Declaration

Promise prepareToPlay(MusicKit.descriptor descriptor);

Parameters

descriptor

A descriptor can be a MusicKit.MediaItem instance or a string identifier.