remove

fun remove(key: String?)

Removes the entry for the specified key from this SharedPreferences.

Parameters

key

the key of the preference to remove.

See also