find

abstract suspend fun find(url: String): AdResult<CachedFile?>

Find file in cache via URL.

Return

The CachedFile object if the file is found, null if not found, or an AdError if an error occurred.

Parameters

url

URL of the file whose MD5 hash will be used as the key.