AVPlayerItem.Notifications 类

定义

AVPlayerItem 发布的通知。

public static class AVPlayerItem.Notifications
type AVPlayerItem.Notifications = class
继承
AVPlayerItem.Notifications

注解

这是一个静态类,其中包含各种帮助程序方法,开发人员可以使用这些方法观察 iOS 通知中心发布的事件 (NSNotificationCenter) 。

此类后事件中定义的方法使用 NSNotificationEventArgs 包含通知参数的强类型属性的参数调用提供的方法或 lambda。

方法

ObserveDidPlayToEndTime(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 DidPlayToEndTimeNotification

ObserveDidPlayToEndTime(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 DidPlayToEndTimeNotification

ObserveItemFailedToPlayToEndTime(EventHandler<AVPlayerItemErrorEventArgs>)

常量的强类型通知 ItemFailedToPlayToEndTimeNotification

ObserveItemFailedToPlayToEndTime(NSObject, EventHandler<AVPlayerItemErrorEventArgs>)

常量的强类型通知 ItemFailedToPlayToEndTimeNotification

ObserveNewAccessLogEntry(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 NewAccessLogEntryNotification

ObserveNewAccessLogEntry(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 NewAccessLogEntryNotification

ObserveNewErrorLogEntry(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 NewErrorLogEntryNotification

ObserveNewErrorLogEntry(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 NewErrorLogEntryNotification

ObservePlaybackStalled(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 PlaybackStalledNotification

ObservePlaybackStalled(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 PlaybackStalledNotification

ObserveTimeJumped(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 TimeJumpedNotification

ObserveTimeJumped(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 TimeJumpedNotification

适用于