MPMusicPlayerControllerPlaybackStateDidChange
Posted when the playback state changes programmatically or by user action.
Declaration
static let MPMusicPlayerControllerPlaybackStateDidChange: NSNotification.NameDiscussion
The object associated with the notification is the music player whose playback state changed. The notification has no userInfo dictionary.
See Also
MediaPlayer
MPMusicPlayerControllerQueueDidChangeMPMediaLibraryDidChangeMPMediaPlaybackIsPreparedToPlayDidChangeMPMusicPlayerControllerNowPlayingItemDidChangeMPMusicPlayerControllerVolumeDidChangeMPMovieDurationAvailableMPMovieMediaTypesAvailableMPMovieNaturalSizeAvailableMPMoviePlayerDidEnterFullscreenMPMoviePlayerDidExitFullscreenMPMoviePlayerIsAirPlayVideoActiveDidChangeMPMoviePlayerLoadStateDidChangeMPMoviePlayerNowPlayingMovieDidChangeMPMoviePlayerPlaybackDidFinishMPMoviePlayerPlaybackStateDidChange