interstitialEventDidFinishNotification
A notification that is posted whenever an AVPlayerInterstitialEvent finished playing.
Declaration
class let interstitialEventDidFinishNotification: NSNotification.NameDiscussion
Carries a userInfo dictionary that can contain the following keys and values:
AVPlayerInterstitialEventMonitorInterstitialEventDidFinishEventKey, with a value that indicates the AVPlayerInterstitialEvent that finished playing.
AVPlayerInterstitialEventMonitorInterstitialEventDidFinishPlayoutTimeKey, with a value that indicates how long that AVPlayerInterstitialEvent played out for.
AVPlayerInterstitialEventMonitorInterstitialEventDidFinishDidPlayEntireEventKey, with a value that indicates whether the AVPlayerInterstitialEvent was fully played out.
Note that cancelling an AVPlayerInterstitialEvent after playback started but prior to playback finishing will also trigger this event.