One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVAssetDownloadURLSession

class · iOS 9.0+ · SDK 27.1

class AVAssetDownloadURLSession

Members (5)

init · iOS 9.0+

init

TypeScript
static init(configuration: _Foundation_URLSessionConfiguration, delegate?: (Implements<AVAssetDownloadDelegate> | SDKHandle) | null, delegateQueue?: (_Foundation_OperationQueue) | null): AVAssetDownloadURLSession
Swift declaration
init(configuration: URLSessionConfiguration, assetDownloadDelegate delegate: (any AVAssetDownloadDelegate)?, delegateQueue: OperationQueue?)
method · iOS 11.0+ · Deprecated in iOS 27.0

aggregateAssetDownloadTask

TypeScript
aggregateAssetDownloadTask(URLAsset: AVURLAsset, mediaSelections: Array<AVMediaSelection>, title: string, artworkData?: (ArrayBuffer) | null, options?: (Record<string, unknown>) | null): (AVAggregateAssetDownloadTask) | null
Swift declaration
func aggregateAssetDownloadTask(with URLAsset: AVURLAsset, mediaSelections: [AVMediaSelection], assetTitle title: String, assetArtworkData artworkData: Data?, options: [String : Any]? = nil) -> AVAggregateAssetDownloadTask?
method · iOS 15.0+

makeAssetDownloadTask

TypeScript
makeAssetDownloadTaskDownloadConfiguration(downloadConfiguration: AVAssetDownloadConfiguration): AVAssetDownloadTask
Swift declaration
func makeAssetDownloadTask(downloadConfiguration: AVAssetDownloadConfiguration) -> AVAssetDownloadTask
method · iOS 10.0+ · Deprecated in iOS 27.0

makeAssetDownloadTask

TypeScript
makeAssetDownloadTaskAssetAssetTitleAssetArtworkDataOptions(URLAsset: AVURLAsset, title: string, artworkData?: (ArrayBuffer) | null, options?: (Record<string, unknown>) | null): (AVAssetDownloadTask) | null
Swift declaration
func makeAssetDownloadTask(asset URLAsset: AVURLAsset, assetTitle title: String, assetArtworkData artworkData: Data?, options: [String : Any]? = nil) -> AVAssetDownloadTask?
method · iOS 9.0+ · Deprecated in iOS 10.0

makeAssetDownloadTask

TypeScript
makeAssetDownloadTaskAssetDestinationURLOptions(URLAsset: AVURLAsset, destinationURL: string, options?: (Record<string, unknown>) | null): (AVAssetDownloadTask) | null
Swift declaration
func makeAssetDownloadTask(asset URLAsset: AVURLAsset, destinationURL: URL, options: [String : Any]? = nil) -> AVAssetDownloadTask?

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AVAssetDownloadURLSession.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All AVFoundation types →