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
| Name | Description |
|---|---|
| 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.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public AVFoundation.AVAssetTrack[] GetTracks(AVFoundation.AVMediaCharacteristics mediaCharacteristic);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetTracks : AVFoundation.AVMediaCharacteristics -> AVFoundation.AVAssetTrack[]
Parameters
- mediaCharacteristic
- AVMediaCharacteristics
The media characteristic to use when searching for tracks.
Returns
- Attributes
Applies to
GetTracks(AVMediaTypes)
Returns an array of tracks of the specified media type.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public AVFoundation.AVAssetTrack[] GetTracks(AVFoundation.AVMediaTypes mediaType);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetTracks : AVFoundation.AVMediaTypes -> AVFoundation.AVAssetTrack[]
Parameters
- mediaType
- AVMediaTypes
The media type to use when searching for tracks.
Returns
- Attributes