---
title: interstitialEventWasUnscheduledErrorKey
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avplayerinterstitialeventmonitor/interstitialeventwasunschedulederrorkey
---

# interstitialEventWasUnscheduledErrorKey

The dictionary key to indicate whether the event that was unscheduled was due to an error.

## Declaration

```swift
class let interstitialEventWasUnscheduledErrorKey: String
```

## Discussion

Discussion The value corresponding to this key is of type NSError. This key only exists in the payload of AVPlayerInterstitialEventMonitorInterstitialEventWasUnscheduledNotification if the interstitial event was unscheduled due to an error.

## 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)
- [interstitialEventDidFinishNotification](avfoundation/avplayerinterstitialeventmonitor/interstitialeventdidfinishnotification.md)
- [interstitialEventDidFinishEventKey](avfoundation/avplayerinterstitialeventmonitor/interstitialeventdidfinisheventkey.md)
- [interstitialEventDidFinishPlayoutTimeKey](avfoundation/avplayerinterstitialeventmonitor/interstitialeventdidfinishplayouttimekey.md)
- [interstitialEventDidFinishDidPlayEntireEventKey](avfoundation/avplayerinterstitialeventmonitor/interstitialeventdidfinishdidplayentireeventkey.md)
