setString

fun setString(key: String, val: String?)

Writes a String to the settings.

Parameters

key

Key of the setting.

val

Value of the setting.