WritablePreferences
Subinterface of ReadablePreferences that, in contrast to EditablePreferences, can directly modify preferences since it also inherits PreferencesEditor.
Functions
Retrieve a Boolean value from the preferences.
Retrieve a Boolean value from the preferences, providing default value as a fallback.
Retrieve a Boolean value from the preferences, calling default value getter as a fallback.
Retrieve a Byte value from the preferences, providing default value as a fallback.
Retrieve a Byte value from the preferences, calling default value getter as a fallback.
Retrieve a Double value from the preferences, providing default value as a fallback.
Retrieve a Double value from the preferences, calling default value getter as a fallback.
Retrieve a Float value from the preferences, providing default value as a fallback.
Retrieve a Float value from the preferences, calling default value getter as a fallback.
Retrieve an Int value from the preferences, providing default value as a fallback.
Retrieve an Int value from the preferences, calling default value getter as a fallback.
Retrieve a Long value from the preferences, providing default value as a fallback.
Retrieve a Long value from the preferences, calling default value getter as a fallback.
Retrieve a String value from the preferences, providing default value as a fallback.
Retrieve a Short value from the preferences, providing default value as a fallback.
Retrieve a Short value from the preferences, calling default value getter as a fallback.
Commit your preferences changes back from PreferencesEditor to the ReadablePreferences object it is editing. This atomically performs the requested modifications, replacing whatever is currently in the ReadablePreferences.
Set a Boolean value in the preferences editor.
Set a Byte value in the preferences editor.
Set a Double value in the preferences editor.
Set a Float value in the preferences editor.
Set a Int value in the preferences editor.
Set a Long value in the preferences editor.
Set a Short value in the preferences editor.
Set a String value in the preferences editor.