Instance Method

beginGeneratingPlaybackNotifications()

Starts the generation of playback notifications.

Declaration

func beginGeneratingPlaybackNotifications()

See Also

Using Music Player Notifications

func endGeneratingPlaybackNotifications()

Ends the generation of playback notifications.

static let MPMusicPlayerControllerPlaybackStateDidChange: NSNotification.Name

Posted when the playback state changes programmatically or by user action.

static let MPMusicPlayerControllerNowPlayingItemDidChange: NSNotification.Name

Posted when the currently playing media item has changed.

static let MPMusicPlayerControllerVolumeDidChange: NSNotification.Name

Posted when the audio playback volume for the music player has changed.