Instance Method

setStorageManagementPolicy(_:for:)

Sets the storage policy for the downloaded asset.

Declaration

func setStorageManagementPolicy(_ storageManagementPolicy: AVAssetDownloadStorageManagementPolicy, for downloadStorageURL: URL)

Parameters

storageManagementPolicy

The policy to be set for the downloaded asset.

downloadStorageURL

The location of the downloaded asset.

See Also

Setting the Storage Policy

func storageManagementPolicy(for: URL) -> AVAssetDownloadStorageManagementPolicy?

Returns the storage management policy for a downloaded asset.

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