Instance Property

navigationMarkerGroups

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

Declaration

var navigationMarkerGroups: [AVNavigationMarkersGroup] { get set }

Discussion

A navigation marker group provides a set of time markers for navigating playback. The most common form of navigation marker group is a chapter list; however, you can also provide other sets of markers to allow a user to jump to significant events in the presentation. For example, a “Goals Scored” marker group might summarize key moments in a recorded sporting event. When you present a player item containing marker groups with the AVPlayerViewController class, the user interface provides options for navigating each group.

To provide a chapter list, use the first item in the navigationMarkerGroups array and set its title property to nil. To provide additional or alternate means of navigating content, use a unique title value for each navigation marker group in the array.

See Also

Associating Metadata for Playback with AVKit

var interstitialTimeRanges: [AVInterstitialTimeRange]

The time ranges of the player item’s time line that represent interstitial 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.