read

abstract suspend fun read(path: AssetPath): AdResult<Pair<ByteArray, URI>?>

Reads data from the cache based on the passed AssetPath.

Return

Advertising data from the cache and the full local path to it.

Parameters

path

The name of the resource, and, optionally, the name of the subdirectory where the resource is stored.