getKey

open fun getKey(): String(source)

Gets the key for this preference, which is also the key used for storing values into SharedPreferences or PreferenceDataStore.

Return

The key