get

abstract fun get(key: String): String

Retrieve a String value from the preferences.

Parameters

key

The name of the preference to retrieve.