putString

abstract fun putString(key: String, value: String?)

Store the value for the given key.

Parameters

value

: The value to store. If null, the key will be removed.