---
title: events
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayerinterstitialeventmonitor/events
---

# events

The schedule of interstitial events.

## Declaration

```swift
var events: [AVPlayerInterstitialEvent] { get }
```

## Discussion

Discussion When the primary player’s content specifies the schedule of interstitial events intrinsically, this property value typically changes whenever primary player’s currentItem changes. For HLS content that specifies interstitials using of DATERANGE tags, the value of this property may also change whenever the set of DATERANGE tags in the current item’s media playlist changes. When you specify the schedule of interstitial events using an AVPlayerInterstitialEventController, this property value changes only when you update the interstitial event controller’s schedule. note: The elements in the events array are immutable. Attempting to modify them generates an exception. To alter an event, make a copy and modify the new instance.

## See Also

### Monitoring the event schedule

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