<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayerInterstitialEventController",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerInterstitialEventController"
  },
  "title" : "AVPlayerInterstitialEventController"
}
-->

# AVPlayerInterstitialEventController

An object that schedules interstitial events for items played by the primary player.

```
class AVPlayerInterstitialEventController
```

## Overview

This class is a subclass of [`AVPlayerInterstitialEventMonitor`](/documentation/AVFoundation/AVPlayerInterstitialEventMonitor) that you use to manage the schedule of interstitial events to present during playback of primary content.

> Important:
> Creating an event controller and setting a schedule causes playback to ignore interstitial events present in the source media.

## Topics

### Creating an event controller

[`init(primaryPlayer:)`](/documentation/AVFoundation/AVPlayerInterstitialEventController/init(primaryPlayer:))

Creates an event controller with a player item.

[`interstitialEventControllerWithPrimaryPlayer:`](/documentation/AVFoundation/AVPlayerInterstitialEventController/interstitialEventControllerWithPrimaryPlayer:)

A convenience initializer that creates an event controller with a player item.

### Configuring the event schedule

[`events`](/documentation/AVFoundation/AVPlayerInterstitialEventController/events)

The current schedule of interstitial events.

[`cancelCurrentEvent(withResumptionOffset:)`](/documentation/AVFoundation/AVPlayerInterstitialEventController/cancelCurrentEvent(withResumptionOffset:))

Cancels the playback of all currently playing and scheduled interstitial events, and resumes playback of primary content.

[`skipCurrentEvent()`](/documentation/AVFoundation/AVPlayerInterstitialEventController/skipCurrentEvent())

Causes the playback of the currently playing interstital event to be abandoned.

### Accessing strings

[`localizedStringsBundle`](/documentation/AVFoundation/AVPlayerInterstitialEventController/localizedStringsBundle)

The bundle that contains the localized strings to be used by the AVPlayerInterstitialEventController.

[`localizedStringsTableName`](/documentation/AVFoundation/AVPlayerInterstitialEventController/localizedStringsTableName)

The name of the table in the bundle that contains the localized strings to be used by the AVPlayerInterstitialEventController.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)