Upravit

Sdílet prostřednictvím


AVAsset.GetTracks Method

Definition

Overloads

GetTracks(AVMediaCharacteristics)

Returns an array of tracks that have the specified characteristic.

GetTracks(AVMediaTypes)

Returns an array of tracks of the specified media type.

GetTracks(AVMediaCharacteristics)

Returns an array of tracks that have the specified characteristic.

public AVFoundation.AVAssetTrack[] GetTracks (AVFoundation.AVMediaCharacteristics mediaCharacteristic);
member this.GetTracks : AVFoundation.AVMediaCharacteristics -> AVFoundation.AVAssetTrack[]

Parameters

mediaCharacteristic
AVMediaCharacteristics

The media characteristic to use when searching for tracks.

Returns

Applies to

GetTracks(AVMediaTypes)

Returns an array of tracks of the specified media type.

public AVFoundation.AVAssetTrack[] GetTracks (AVFoundation.AVMediaTypes mediaType);
member this.GetTracks : AVFoundation.AVMediaTypes -> AVFoundation.AVAssetTrack[]

Parameters

mediaType
AVMediaTypes

The media type to use when searching for tracks.

Returns

Applies to