---
title: interstitialEventDidFinishNotification
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avplayerinterstitialeventmonitor/interstitialeventdidfinishnotification
---

# interstitialEventDidFinishNotification

A notification that is posted whenever an AVPlayerInterstitialEvent finished playing.

## Declaration

```swift
class let interstitialEventDidFinishNotification: NSNotification.Name
```

## Discussion

Discussion 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.

## See Also

### Monitoring the event schedule

- [events](avfoundation/avplayerinterstitialeventmonitor/events.md)
- [eventsDidChangeNotification](avfoundation/avplayerinterstitialeventmonitor/eventsdidchangenotification.md)
- [interstitialEventWasUnscheduledNotification](avfoundation/avplayerinterstitialeventmonitor/interstitialeventwasunschedulednotification.md)
- [interstitialEventWasUnscheduledEventKey](avfoundation/avplayerinterstitialeventmonitor/interstitialeventwasunscheduledeventkey.md)
- [interstitialEventWasUnscheduledErrorKey](avfoundation/avplayerinterstitialeventmonitor/interstitialeventwasunschedulederrorkey.md)
- [interstitialEventDidFinishEventKey](avfoundation/avplayerinterstitialeventmonitor/interstitialeventdidfinisheventkey.md)
- [interstitialEventDidFinishPlayoutTimeKey](avfoundation/avplayerinterstitialeventmonitor/interstitialeventdidfinishplayouttimekey.md)
- [interstitialEventDidFinishDidPlayEntireEventKey](avfoundation/avplayerinterstitialeventmonitor/interstitialeventdidfinishdidplayentireeventkey.md)
