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.