KeyValueStore

Functions

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

Properties

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