Bewerken

Delen via


MPMoviePlayerController.Notifications Class

Definition

Notification posted by the MPMoviePlayerController class.

public static class MPMoviePlayerController.Notifications
type MPMoviePlayerController.Notifications = class
Inheritance
MPMoviePlayerController.Notifications

Remarks

This is a static class which contains various helper methods that allow developers to observe events posted in the iOS notification hub (NSNotificationCenter).

The methods defined in this class post events invoke the provided method or lambda with a NSNotificationEventArgs parameter which contains strongly typed properties for the notification arguments.

Methods

ObserveDidEnterFullscreen(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidEnterFullscreenNotification constant.

ObserveDidEnterFullscreen(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidEnterFullscreenNotification constant.

ObserveDidExitFullscreen(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidExitFullscreenNotification constant.

ObserveDidExitFullscreen(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidExitFullscreenNotification constant.

ObserveDurationAvailable(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DurationAvailableNotification constant.

ObserveDurationAvailable(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DurationAvailableNotification constant.

ObserveLoadStateDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the LoadStateDidChangeNotification constant.

ObserveLoadStateDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the LoadStateDidChangeNotification constant.

ObserveMediaPlaybackIsPreparedToPlayDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MediaPlaybackIsPreparedToPlayDidChangeNotification constant.

ObserveMediaPlaybackIsPreparedToPlayDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MediaPlaybackIsPreparedToPlayDidChangeNotification constant.

ObserveMoviePlayerReadyForDisplayDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MoviePlayerReadyForDisplayDidChangeNotification constant.

ObserveMoviePlayerReadyForDisplayDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MoviePlayerReadyForDisplayDidChangeNotification constant.

ObserveMPMoviePlayerIsAirPlayVideoActiveDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MPMoviePlayerIsAirPlayVideoActiveDidChangeNotification constant.

ObserveMPMoviePlayerIsAirPlayVideoActiveDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MPMoviePlayerIsAirPlayVideoActiveDidChangeNotification constant.

ObserveNaturalSizeAvailable(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the NaturalSizeAvailableNotification constant.

ObserveNaturalSizeAvailable(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the NaturalSizeAvailableNotification constant.

ObserveNowPlayingMovieDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the NowPlayingMovieDidChangeNotification constant.

ObserveNowPlayingMovieDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the NowPlayingMovieDidChangeNotification constant.

ObservePlaybackDidFinish(EventHandler<MPMoviePlayerFinishedEventArgs>)

Strongly typed notification for the PlaybackDidFinishNotification constant.

ObservePlaybackDidFinish(NSObject, EventHandler<MPMoviePlayerFinishedEventArgs>)

Strongly typed notification for the PlaybackDidFinishNotification constant.

ObservePlaybackStateDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the PlaybackStateDidChangeNotification constant.

ObservePlaybackStateDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the PlaybackStateDidChangeNotification constant.

ObserveScalingModeDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ScalingModeDidChangeNotification constant.

ObserveScalingModeDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ScalingModeDidChangeNotification constant.

ObserveSourceTypeAvailable(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SourceTypeAvailableNotification constant.

ObserveSourceTypeAvailable(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SourceTypeAvailableNotification constant.

ObserveThumbnailImageRequestDidFinish(EventHandler<MPMoviePlayerThumbnailEventArgs>)

Strongly typed notification for the ThumbnailImageRequestDidFinishNotification constant.

ObserveThumbnailImageRequestDidFinish(NSObject, EventHandler<MPMoviePlayerThumbnailEventArgs>)

Strongly typed notification for the ThumbnailImageRequestDidFinishNotification constant.

ObserveTimedMetadataUpdated(EventHandler<MPMoviePlayerTimedMetadataEventArgs>)

Strongly typed notification for the TimedMetadataUpdatedNotification constant.

ObserveTimedMetadataUpdated(NSObject, EventHandler<MPMoviePlayerTimedMetadataEventArgs>)

Strongly typed notification for the TimedMetadataUpdatedNotification constant.

ObserveTypesAvailable(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the TypesAvailableNotification constant.

ObserveTypesAvailable(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the TypesAvailableNotification constant.

ObserveWillEnterFullscreen(EventHandler<MPMoviePlayerFullScreenEventArgs>)

Strongly typed notification for the WillEnterFullscreenNotification constant.

ObserveWillEnterFullscreen(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillEnterFullscreenNotification constant.

ObserveWillEnterFullscreen(NSObject, EventHandler<MPMoviePlayerFullScreenEventArgs>)

Strongly typed notification for the WillEnterFullscreenNotification constant.

ObserveWillEnterFullscreen(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillEnterFullscreenNotification constant.

ObserveWillExitFullscreen(EventHandler<MPMoviePlayerFullScreenEventArgs>)

Strongly typed notification for the WillExitFullscreenNotification constant.

ObserveWillExitFullscreen(NSObject, EventHandler<MPMoviePlayerFullScreenEventArgs>)

Strongly typed notification for the WillExitFullscreenNotification constant.

Applies to