Instance Property

tracks

The collection of all tracks contained by the asset.

Declaration

@property(nonatomic, readonly) NSArray<AVAssetTrack *> *tracks;

Discussion

Tracks are instances of AVAssetTrack.

See Also

Accessing Tracks

trackGroups

An array containing all of the track groups in the asset.

- trackWithTrackID:

Returns the track associated with a specified track identifier.

- tracksWithMediaType:

Returns an array of asset tracks associated with an asset for the specified media type.

- tracksWithMediaCharacteristic:

Returns an array of asset tracks associated with an asset for the specified characteristic.

- unusedTrackID

Returns an ID that's unused by any of the tracks in the asset.