AVAsset.GetTracks Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.