Contents

interstitialEventWasUnscheduledNotification

A notification that is posted whenever an AVPlayerInterstitialEvent with loaded assets was unscheduled prior to playing.

Declaration

class let interstitialEventWasUnscheduledNotification: NSNotification.Name

Discussion

Carries a userInfo dictionary that can contain the following keys and values:

  1. AVPlayerInterstitialEventMonitorInterstitialEventWasUnscheduledEventKey, with a value that indicates which AVPlayerInterstitialEvent was unscheduled.

  2. AVPlayerInterstitialEventMonitorInterstitialEventWasUnscheduledErrorKey, with an NSError value. This key will only be present if the AVPlayerInterstitialEvent was unscheduled due to an error.

See Also

Monitoring the event schedule