Class

AVAssetDownloadURLSession

A URL session used to support the creation and execution of asset download tasks.

Declaration

class AVAssetDownloadURLSession : URLSession

Topics

Creating an Instance

protocol AVAssetDownloadDelegate

Methods you can implement to handle download-related events.

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.

Relationships

Inherits From

Conforms To

See Also

Asset Retrieval

class AVURLAsset

A concrete subclass of AVAsset that's used to initialize an asset from a local or remote URL.

class AVAssetResourceLoader

An object that mediates resource requests from a URL asset.

class AVAssetResourceLoadingRequest

An object that encapsulates information about a resource request issued by a resource loader object.

var response: URLResponse?

The URL response for the loading request.

class AVAssetResourceRenewalRequest

An object that encapsulates information about a resource request issued by a resource loader to renew a previously issued request.

class AVAssetResourceLoadingContentInformationRequest

A query used to get essential information about a resource referenced by an asset resource loading request.

class AVAssetResourceLoadingDataRequest

An object used to request data from a resource referenced by an asset resource loading request.

class AVAssetDownloadStorageManager

A manager of policies used to automatically purge downloaded assets.

class AVAssetDownloadStorageManagementPolicy

A set of properties that defines a policy to automatically purge downloaded assets.

class AVMutableAssetDownloadStorageManagementPolicy

A mutable set of properties that defines a policy to automatically purge downloaded assets.