Instance Property

interstitialTimeRanges

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

Declaration

@property(nonatomic, copy) NSArray<AVInterstitialTimeRange *> *interstitialTimeRanges;

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

navigationMarkerGroups

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

externalMetadata

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

nextContentProposal

The item proposed to follow the current content.