A media player object that you use to revise the queue that’s currently playing.
SDKs
- iOS 10.3+
- Mac Catalyst 13.0+
Framework
- Media Player
Declaration
class MPMusicPlayerApplicationController : MPMusic Player Controller
A media player object that you use to revise the queue that’s currently playing.
SDKs
Framework
class MPMusicPlayerApplicationController : MPMusic Player Controller
func perform(queue Transaction: (MPMusic Player Controller Mutable Queue) -> Void, completion Handler: (MPMusic Player Controller Queue, Error?) -> Void)
Changes the contents of the media items in the queue.
static let MPMusic Player Controller Queue Did Change: NSNotification .Name
Indicates the music player's queue changed.
class MPMusic Player Controller Queue
An immutable queue containing the media items to play.
class MPMusic Player Controller Mutable Queue
A mutable queue containing the media items to play.
class MPMusic Player Media Item Queue Descriptor
A set of properties and methods used to modify audio media items in the player’s media queue.
class MPMusic Player Store Queue Descriptor
A set of properties and methods used to modify items, based on their store identifier, in the player’s queue.
class MPMusic Player Play Parameters Queue Descriptor
A set of properties and methods used to modify how items are played, based on play parameters returned from MusicKit API results.
class MPMusic Player Queue Descriptor
The abstract base class for audio media item and store queue descriptors.