putBoolean

abstract fun putBoolean(key: String, value: Boolean)(source)

Stores a Boolean value with the given key.

Parameters

key

The key to store the value under

value

The Boolean value to store