Instance Property

interstitialTimeRanges

The time ranges of the player item’s time line that represent interstitial content.

Declaration

var interstitialTimeRanges: [AVInterstitialTimeRange] { get set }

Discussion

Interstitial content is material unrelated to the main content of the player item, such as advertisements and legal notices. When you present a player item containing interstitial time ranges with the AVPlayerViewController class, the interface marks those time ranges differently on the playback timeline. You can also customize an AVPlayerViewController object to prevent the user from skipping such content or to find out when playback of interstitial content happens.

See Also

Associating Metadata for Playback with AVKit

var navigationMarkerGroups: [AVNavigationMarkersGroup]

The time marker groups that provide ways to navigate the player item’s content.

var externalMetadata: [AVMetadataItem]

An array of additional metadata for the player item to supplement or override that is embedded in the underlying media asset.

var nextContentProposal: AVContentProposal?

The item proposed to follow the current content.