Contents

MPMoviePlayerPlaybackStateDidChange

Posted when a movie player’s playback state has changed. There is no userInfo dictionary.

Declaration

static let MPMoviePlayerPlaybackStateDidChange: NSNotification.Name

Discussion

Playback state can change programmatically (see MPMediaPlayback) or by user interaction. To retrieve the playback state of a movie player, access its playbackState property. The movie player whose state has changed is available as the object associated with the notification.

See Also

MediaPlayer