MPMoviePlayerIsAirPlayVideoActiveDidChange
Posted when a movie player has started or ended playing a movie via AirPlay. There is no userInfo dictionary.
Declaration
static let MPMoviePlayerIsAirPlayVideoActiveDidChange: NSNotification.NameDiscussion
To find out whether AirPlay playback started or stopped, query the isAirPlayVideoActive property. The movie player whose state has changed is available as the object associated with the notification.
See Also
MediaPlayer
MPMusicPlayerControllerQueueDidChangeMPMediaLibraryDidChangeMPMediaPlaybackIsPreparedToPlayDidChangeMPMusicPlayerControllerNowPlayingItemDidChangeMPMusicPlayerControllerPlaybackStateDidChangeMPMusicPlayerControllerVolumeDidChangeMPMovieDurationAvailableMPMovieMediaTypesAvailableMPMovieNaturalSizeAvailableMPMoviePlayerDidEnterFullscreenMPMoviePlayerDidExitFullscreenMPMoviePlayerLoadStateDidChangeMPMoviePlayerNowPlayingMovieDidChangeMPMoviePlayerPlaybackDidFinishMPMoviePlayerPlaybackStateDidChange