Contents

AVPlayerInterstitialEvent

An object that provides instructions for how a player presents interstitial content.

Declaration

class AVPlayerInterstitialEvent

Overview

An interstitial event defines a date or time, on the timeline of its primaryItem, at which playback of interstitial content begins. It specifies the alternative interstitial content to play as an array of one or more template player items. The system uses the configuration of the event’s templateItems to build new player item instances to present the interstitial content.

Use AVPlayerInterstitialEventMonitor to observe the scheduling and progress of interstitial events. If your app requires specifying the schedule of interstitial events, use AVPlayerInterstitialEventController instead.

Topics

Creating an event

Identifying events

Accessing player items

Configuring cues

Inspecting timing

Managing restrictions

Accessing asset lists

Accessing attributes

Inspecting timeline occupancy

Managing skipping behavior

Instance Properties

See Also

Interstitials