KeyValueStorageImpl

Functions

Link copied to clipboard
open override fun allKeys(): Set<String>
Link copied to clipboard
open override fun clear()
Link copied to clipboard
open override fun delete(key: String)
Link copied to clipboard
open override fun getBoolean(key: String, default: Boolean): Boolean
Link copied to clipboard
open override fun getByteArray(key: String): ByteArray?
open override fun getByteArray(key: String, default: ByteArray): ByteArray
Link copied to clipboard
open override fun getFloat(key: String, default: Float): Float
Link copied to clipboard
open override fun getInt(key: String, default: Int): Int
Link copied to clipboard
open override fun getLong(key: String, default: Long): Long
Link copied to clipboard
inline fun <T : Any> KeyValueStorage.getSerializable(key: String): T?
inline fun <T : Any> KeyValueStorage.getSerializable(key: String, default: T): T
Link copied to clipboard
Link copied to clipboard
open override fun getString(key: String): String?
open override fun getString(key: String, default: String): String
Link copied to clipboard
open override fun putBoolean(key: String, value: Boolean)
Link copied to clipboard
open override fun putByteArray(key: String, value: ByteArray)
Link copied to clipboard
open override fun putFloat(key: String, value: Float)
Link copied to clipboard
open override fun putInt(key: String, value: Int)
Link copied to clipboard
open override fun putLong(key: String, value: Long)
Link copied to clipboard
inline fun <T : Any> KeyValueStorage.putSerializable(key: String, value: T)
Link copied to clipboard
open override fun putString(key: String, value: String)