AVFoundation · IOS API REFERENCE
AVFragmentedAsset
class · iOS 12.0+ · SDK 27.1
class AVFragmentedAsset
Members (7)
method · iOS 15.0+loadTrack
TypeScriptloadTrack(trackID: number, completionHandler: ((arg0: (AVFragmentedAssetTrack) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc loadTrack(withTrackID trackID: CMPersistentTrackID) async throws -> AVFragmentedAssetTrack?
method · iOS 15.0+loadTracks
TypeScriptloadTracksWithMediaCharacteristicCompletionHandler(mediaCharacteristic: AVMediaCharacteristic, completionHandler: ((arg0: (Array<AVFragmentedAssetTrack>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc loadTracks(withMediaCharacteristic mediaCharacteristic: AVMediaCharacteristic) async throws -> [AVFragmentedAssetTrack]
method · iOS 15.0+loadTracks
TypeScriptloadTracksWithMediaTypeCompletionHandler(mediaType: AVMediaType, completionHandler: ((arg0: (Array<AVFragmentedAssetTrack>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc loadTracks(withMediaType mediaType: AVMediaType) async throws -> [AVFragmentedAssetTrack]
method · iOS 4.0+ · Deprecated in iOS 16.0track
TypeScripttrack(trackID: number): (AVFragmentedAssetTrack) | null
Swift declarationfunc track(withTrackID trackID: CMPersistentTrackID) -> AVFragmentedAssetTrack?
method · iOS 4.0+ · Deprecated in iOS 16.0tracks
TypeScripttracksWithMediaCharacteristic(mediaCharacteristic: AVMediaCharacteristic): Array<AVFragmentedAssetTrack>
Swift declarationfunc tracks(withMediaCharacteristic mediaCharacteristic: AVMediaCharacteristic) -> [AVFragmentedAssetTrack]
method · iOS 4.0+ · Deprecated in iOS 16.0tracks
TypeScripttracksWithMediaType(mediaType: AVMediaType): Array<AVFragmentedAssetTrack>
Swift declarationfunc tracks(withMediaType mediaType: AVMediaType) -> [AVFragmentedAssetTrack]
get · iOS 12.0+ · Deprecated in iOS 16.0tracks
TypeScriptget tracks(): Array<AVFragmentedAssetTrack>
Swift declarationvar tracks: [AVFragmentedAssetTrack] { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
AVFragmentedAsset.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All AVFoundation types →