remove

abstract suspend fun remove(path: AssetPath): AdResult<Unit>

Removes data from the cache on the passed AssetPath.

Return

Unit if the resource was successfully removed, or an error if it was not.

Parameters

path

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