Builder
class Builder
Functions
Link copied to clipboard
Set the CoroutineDispatcher that cache size trim operations will be executed on.
Link copied to clipboard
Set the directory where the cache stores its data.
Link copied to clipboard
fun DiskCache.Builder.directory(directory: <Error class: unknown class>): <Error class: unknown class>
Set the directory where the cache stores its data.
Link copied to clipboard
Set the fileSystem where the cache stores its data.
Link copied to clipboard
Set the maximum size of the disk cache in bytes. This is ignored if maxSizeBytes is set.
Link copied to clipboard
Set the maximum size of the disk cache in bytes.
Link copied to clipboard
Set the maximum size of the disk cache as a percentage of the device's free disk space.
Link copied to clipboard
Set the minimum size of the disk cache in bytes. This is ignored if maxSizeBytes is set.