Global Variable

MPMusicPlayerControllerPlaybackStateDidChangeNotification

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

Declaration

const NSNotificationName MPMusicPlayerControllerPlaybackStateDidChangeNotification;

Discussion

The object associated with the notification is the music player whose playback state changed. The notification has no userInfo dictionary.

See Also

Using Music Player Notifications

- beginGeneratingPlaybackNotifications

Starts the generation of playback notifications.

- endGeneratingPlaybackNotifications

Ends the generation of playback notifications.

MPMusicPlayerControllerNowPlayingItemDidChangeNotification

Posted when the currently playing media item has changed.

MPMusicPlayerControllerVolumeDidChangeNotification

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