setSharedPreferencesName

open fun setSharedPreferencesName(sharedPreferencesName: String)(source)

Sets the name of the SharedPreferences file that preferences managed by this will use.

If custom PreferenceDataStore is set, this won't override its usage.

Parameters

sharedPreferencesName

The name of the SharedPreferences file

See also