KeyValueStore

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open suspend fun clear()
Link copied to clipboard
open suspend override fun contains(key: String): Boolean
Link copied to clipboard
open suspend override fun count(): Long
Link copied to clipboard
open suspend override fun get(k: String): T?
Link copied to clipboard
open suspend override fun keys(pagination: Pagination, reversed: Boolean): PaginationResult<String>
open suspend override fun keys(    v: T,     pagination: Pagination,     reversed: Boolean): PaginationResult<String>
Link copied to clipboard
open override fun onSharedPreferenceChanged(sp: SharedPreferences, key: String)
Link copied to clipboard
open suspend override fun set(toSet: Map<String, T>)
Link copied to clipboard
open suspend override fun unset(toUnset: List<String>)
Link copied to clipboard
open suspend override fun unsetWithValues(toUnset: List<T>)
Link copied to clipboard
open suspend override fun values(pagination: Pagination, reversed: Boolean): PaginationResult<T>

Properties

Link copied to clipboard
open override val onNewValue: Flow<Pair<String, T>>
Link copied to clipboard
open override val onValueRemoved: Flow<String>