Class

AVAssetDownloadURLSession

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

Declaration

@interface AVAssetDownloadURLSession : NSURLSession

Topics

Creating an Instance

+ sessionWithConfiguration:assetDownloadDelegate:delegateQueue:

Creates and initializes an asset download URL session.

AVAssetDownloadDelegate

Methods you can implement to handle download-related events.

Creating a Download Task

- assetDownloadTaskWithURLAsset:assetTitle:assetArtworkData:options:

Creates and initializes an asset download task to be used with this download session.

AVAssetDownloadTaskMinimumRequiredMediaBitrateKey

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

AVAssetDownloadTaskMediaSelectionKey

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

- aggregateAssetDownloadTaskWithURLAsset:mediaSelections:assetTitle:assetArtworkData:options:

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

AVAssetDownloadTask

A session used to download HTTP Live Streaming assets.

AVAggregateAssetDownloadTask

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

- assetDownloadTaskWithURLAsset:destinationURL:options:

Creates and initializes an AVAssetDownloadTask to be used with this download session.

Deprecated

Relationships

Inherits From

See Also

Asset Retrieval

AVURLAsset

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

AVAssetResourceLoader

An object that mediates resource requests from a URL asset.

AVAssetResourceLoadingRequest

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

response

The URL response for the loading request.

AVAssetResourceRenewalRequest

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

AVAssetResourceLoadingContentInformationRequest

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

AVAssetResourceLoadingDataRequest

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

AVAssetDownloadStorageManager

A manager of policies used to automatically purge downloaded assets.

AVAssetDownloadStorageManagementPolicy

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

AVMutableAssetDownloadStorageManagementPolicy

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