Contents

urlSession(_:assetDownloadTask:willDownloadVariants:)

Tells the delegate that a download task completed variant selection.

Declaration

optional func urlSession(_ session: URLSession, assetDownloadTask: AVAssetDownloadTask, willDownloadVariants variants: [AVAssetVariant])

Parameters

  • session:

    The session the asset download task is on.

  • assetDownloadTask:

    The task that finished selecting variant selection.

  • variants:

    The asset variants to download.

See Also

Responding to download events