Value

class Value

A snapshot of the values for an entry.

Functions

Link copied to clipboard
open fun edit(): DiskLruCache.Editor
Returns an editor for this snapshot's entry, or null if either the entry has changed since this snapshot was created or if another edit is in progress.
Link copied to clipboard
open fun getFile(index: Int): File
Link copied to clipboard
open fun getLength(index: Int): Long
Returns the byte length of the value for index.
Link copied to clipboard
open fun getString(index: Int): String
Returns the string value for index.