DriveCache

Main cache controller

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var size: Long

Functions

Link copied to clipboard
fun clear()

Clear cache

Link copied to clipboard
open override fun find(url: String): BaseCachedFile?

Find CachedFile with path/url provided

Link copied to clipboard
open override fun put(url: String, data: ByteArray)

Save file to cache

Link copied to clipboard
fun setPath(path: String): Boolean

Set path of the cache

Link copied to clipboard
fun setSize(size: Long)

Set size of the cache