Structure

AVAssetTrack.AssociationType

Constants for identifying how other tracks are associated with a track.

Declaration

struct AssociationType

Topics

Track Association Types

static let audioFallback: AVAssetTrack.AssociationType

The track contains the same content as another track, but in a more widely supported format.

static let chapterList: AVAssetTrack.AssociationType

The associated track contains chapter information for the base track.

static let forcedSubtitlesOnly: AVAssetTrack.AssociationType

The subtitle track containing forced and non-forced subtitles is associated with a subtitle track containing only forced subtitles.

static let metadataReferent: AVAssetTrack.AssociationType

The metadata track is associated with the track being described or annotated.

static let selectionFollower: AVAssetTrack.AssociationType

The second track in the association is considered an appropriate default for the first track.

static let timecode: AVAssetTrack.AssociationType

The track is associated with a timecode track containing timing information for the original track.

Relationships

See Also

Working with Associated Tracks

var availableTrackAssociationTypes: [AVAssetTrack.AssociationType]

An array of association types used to associate the track with other tracks.

func associatedTracks(ofType: AVAssetTrack.AssociationType) -> [AVAssetTrack]

Creates an array containing other tracks associated with the track that uses the specified association type.