Instance Method

storageManagementPolicy(for:)

Returns the storage management policy for a downloaded asset.

Declaration

func storageManagementPolicy(for downloadStorageURL: URL) -> AVAssetDownloadStorageManagementPolicy?

Parameters

downloadStorageURL

The location of the downloaded asset.

Return Value

An AVAssetDownloadStorageManagementPolicy object that defines the management policy for a downloaded asset. This value is nil if a storage management policy was never set.

See Also

Setting the Storage Policy