Instance Method

aggregateAssetDownloadTask(with:mediaSelections:assetTitle:assetArtworkData:options:)

Creates and initializes a download task to download multiple media selections on a URL asset.

Declaration

func aggregateAssetDownloadTask(with URLAsset: AVURLAsset, mediaSelections: [AVMediaSelection], assetTitle title: String, assetArtworkData artworkData: Data?, options: [String : Any]? = nil) -> AVAggregateAssetDownloadTask?

See Also

Creating a Download Task

let AVAssetDownloadTaskMinimumRequiredMediaBitrateKey: String

The key used by the options dictionary indicating the lowest media bitrate to be used that is greater than or equal to this value.

let AVAssetDownloadTaskMediaSelectionKey: String

The key used by the options dictionary indicating the media selection for a new download selection.

class AVAssetDownloadTask

A session used to download HTTP Live Streaming assets.

class AVAggregateAssetDownloadTask

A single task that downloads multiple media selections for a single asset.