Upravit

Sdílet prostřednictvím


AVPlayerItem.Notifications Class

Definition

Notification posted by the AVPlayerItem class.

public static class AVPlayerItem.Notifications
type AVPlayerItem.Notifications = class
Inheritance
AVPlayerItem.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

ObserveDidPlayToEndTime(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidPlayToEndTimeNotification constant.

ObserveDidPlayToEndTime(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidPlayToEndTimeNotification constant.

ObserveItemFailedToPlayToEndTime(EventHandler<AVPlayerItemErrorEventArgs>)

Strongly typed notification for the ItemFailedToPlayToEndTimeNotification constant.

ObserveItemFailedToPlayToEndTime(NSObject, EventHandler<AVPlayerItemErrorEventArgs>)

Strongly typed notification for the ItemFailedToPlayToEndTimeNotification constant.

ObserveNewAccessLogEntry(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the NewAccessLogEntryNotification constant.

ObserveNewAccessLogEntry(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the NewAccessLogEntryNotification constant.

ObserveNewErrorLogEntry(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the NewErrorLogEntryNotification constant.

ObserveNewErrorLogEntry(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the NewErrorLogEntryNotification constant.

ObservePlaybackStalled(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the PlaybackStalledNotification constant.

ObservePlaybackStalled(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the PlaybackStalledNotification constant.

ObserveTimeJumped(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the TimeJumpedNotification constant.

ObserveTimeJumped(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the TimeJumpedNotification constant.

Applies to