associatedTracks
TypeScriptassociatedTracks(trackAssociationType: AVAssetTrack_AssociationType): Array<AVAssetTrack>Swift declarationfunc associatedTracks(ofType trackAssociationType: AVAssetTrack.AssociationType) -> [AVAssetTrack]class · iOS 4.0+ · SDK 27.1
class AVAssetTrackassociatedTracks(trackAssociationType: AVAssetTrack_AssociationType): Array<AVAssetTrack>Swift declarationfunc associatedTracks(ofType trackAssociationType: AVAssetTrack.AssociationType) -> [AVAssetTrack]hasMediaCharacteristic(mediaCharacteristic: AVMediaCharacteristic): booleanSwift declarationfunc hasMediaCharacteristic(_ mediaCharacteristic: AVMediaCharacteristic) -> BoolloadAssociatedTracks(trackAssociationType: AVAssetTrack_AssociationType, completionHandler: ((arg0: (Array<AVAssetTrack>) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc loadAssociatedTracks(ofType trackAssociationType: AVAssetTrack.AssociationType) async throws -> [AVAssetTrack]loadMetadata(format: AVMetadataFormat, completionHandler: ((arg0: (Array<AVMetadataItem>) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc loadMetadata(for format: AVMetadataFormat) async throws -> [AVMetadataItem]loadSamplePresentationTime(trackTime: _CoreMedia_CMTime, completionHandler: ((arg0: _CoreMedia_CMTime, arg1: (NativeError) | null) => void)): voidSwift declarationfunc loadSamplePresentationTime(forTrackTime trackTime: CMTime) async throws -> CMTimeloadSegment(trackTime: _CoreMedia_CMTime, completionHandler: ((arg0: (AVAssetTrackSegment) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc loadSegment(forTrackTime trackTime: CMTime) async throws -> AVAssetTrackSegment?makeSampleCursorAtFirstSampleInDecodeOrder(): (AVSampleCursor) | nullSwift declarationfunc makeSampleCursorAtFirstSampleInDecodeOrder() -> AVSampleCursor?makeSampleCursorAtLastSampleInDecodeOrder(): (AVSampleCursor) | nullSwift declarationfunc makeSampleCursorAtLastSampleInDecodeOrder() -> AVSampleCursor?makeSampleCursor(presentationTimeStamp: _CoreMedia_CMTime): (AVSampleCursor) | nullSwift declarationfunc makeSampleCursor(presentationTimeStamp: CMTime) -> AVSampleCursor?metadataForFormat(format: AVMetadataFormat): Array<AVMetadataItem>Swift declarationfunc metadata(forFormat format: AVMetadataFormat) -> [AVMetadataItem]samplePresentationTime(trackTime: _CoreMedia_CMTime): _CoreMedia_CMTimeSwift declarationfunc samplePresentationTime(forTrackTime trackTime: CMTime) -> CMTimesegment(trackTime: _CoreMedia_CMTime): (AVAssetTrackSegment) | nullSwift declarationfunc segment(forTrackTime trackTime: CMTime) -> AVAssetTrackSegment?get asset(): (AVAsset) | nullSwift declarationweak var asset: AVAsset? { get }get availableMetadataFormats(): Array<AVMetadataFormat>Swift declarationvar availableMetadataFormats: [AVMetadataFormat] { get }get availableTrackAssociationTypes(): Array<AVAssetTrack_AssociationType>Swift declarationvar availableTrackAssociationTypes: [AVAssetTrack.AssociationType] { get }get commonMetadata(): Array<AVMetadataItem>Swift declarationvar commonMetadata: [AVMetadataItem] { get }get isDecodable(): booleanSwift declarationvar isDecodable: Bool { get }get isEnabled(): booleanSwift declarationvar isEnabled: Bool { get }get estimatedDataRate(): numberSwift declarationvar estimatedDataRate: Float { get }get extendedLanguageTag(): (string) | nullSwift declarationvar extendedLanguageTag: String? { get }get formatDescriptions(): Array<unknown>Swift declarationvar formatDescriptions: [Any] { get }get hasAudioSampleDependencies(): booleanSwift declarationvar hasAudioSampleDependencies: Bool { get }get languageCode(): (string) | nullSwift declarationvar languageCode: String? { get }get mediaType(): AVMediaTypeSwift declarationvar mediaType: AVMediaType { get }get metadata(): Array<AVMetadataItem>Swift declarationvar metadata: [AVMetadataItem] { get }get minFrameDuration(): _CoreMedia_CMTimeSwift declarationvar minFrameDuration: CMTime { get }get naturalSize(): { width: number; height: number }Swift declarationvar naturalSize: CGSize { get }get naturalTimeScale(): numberSwift declarationvar naturalTimeScale: CMTimeScale { get }get nominalFrameRate(): numberSwift declarationvar nominalFrameRate: Float { get }get isPlayable(): booleanSwift declarationvar isPlayable: Bool { get }get preferredTransform(): _CoreFoundation_CGAffineTransformSwift declarationvar preferredTransform: CGAffineTransform { get }get preferredVolume(): numberSwift declarationvar preferredVolume: Float { get }get requiresFrameReordering(): booleanSwift declarationvar requiresFrameReordering: Bool { get }get segments(): Array<AVAssetTrackSegment>Swift declarationvar segments: [AVAssetTrackSegment] { get }get isSelfContained(): booleanSwift declarationvar isSelfContained: Bool { get }get timeRange(): _CoreMedia_CMTimeRangeSwift declarationvar timeRange: CMTimeRange { get }get totalSampleDataLength(): numberSwift declarationvar totalSampleDataLength: Int64 { get }get trackID(): numberSwift declarationvar trackID: CMPersistentTrackID { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
AVAssetTrack.init()
inherited init: clang: 'init' is unavailable