set

suspend operator fun set(key: String, value: Int)

Sets an Int in the data store preferences.


suspend operator fun set(key: String, value: Double)

Sets a Double in the data store preferences.


suspend operator fun set(key: String, value: String)

Sets a String in the data store preferences.


suspend operator fun set(key: String, value: Boolean)

Sets a Boolean in the data store preferences.


suspend operator fun set(key: String, value: Float)

Sets a Float in the data store preferences.


suspend operator fun set(key: String, value: Long)

Sets a Long in the data store preferences.


suspend operator fun set(key: String, value: Set<String>)

Sets a Set<String>value in the data store preferences.


suspend operator fun set(key: String, value: ByteArray)

Sets a ByteArray in the data store preferences.