DataStoreHelpers

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun getPreference(key: Preferences.Key<Boolean>, default: Boolean = false): Boolean
fun getPreference(key: Preferences.Key<Float>, default: Float = Float.empty()): Float
fun getPreference(key: Preferences.Key<Int>, default: Int = Int.empty()): Int
fun getPreference(key: Preferences.Key<Long>, default: Long = Long.empty()): Long
fun getPreference(key: Preferences.Key<String>, default: String = String.empty()): String
Link copied to clipboard