Contents

SystemMusicPlayer

An object your app uses to play music by controlling the Music app’s state.

Declaration

class SystemMusicPlayer

Overview

The system music player employs the Music app on your behalf. When your app accesses the system music player for the first time, it assumes the current Music app state and controls it as your app runs. The shared state includes the following:

The system music player doesn’t share other aspects of the Music app’s state. Music that’s playing continues to play when your app moves to the background.

Topics

Instance Properties

Type Properties

See Also

Playback