Class

AVAssetDownloadStorageManager

A manager of policies used to automatically purge downloaded assets.

Declaration

@interface AVAssetDownloadStorageManager : NSObject

Overview

Fetch the shared singleton when setting a storage management policy. Set new policy using setStorageManagementPolicy:forURL: and the location of the downloaded asset.

Topics

Setting the Storage Policy

- setStorageManagementPolicy:forURL:

Sets the storage policy for the downloaded asset.

- storageManagementPolicyForURL:

Returns the storage management policy for a downloaded asset.

Retrieving the Singleton

+ sharedDownloadStorageManager

Returns a singleton instance of the shared storage manager.

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.

AVAssetDownloadURLSession

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

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.

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software