putString

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

Stores a String value with the given key.

Parameters

key

The key to store the value under

value

The String value to store