Android.Content.ISharedPreferences: Method Members

The methods of Android.Content.ISharedPreferences are listed below. For a list of all members, see the ISharedPreferences Members list.

Public Methods

Contains(string) : bool
Checks whether the preferences contains a preference.
Edit() : ISharedPreferencesEditor
Create a new Editor for these preferences, through which you can make modifications to the data in the preferences and atomically commit those changes back to the SharedPreferences object.
GetBoolean(string, bool) : bool
Retrieve a boolean value from the preferences.
GetFloat(string, float) : float
Retrieve a float value from the preferences.
GetInt(string, int) : int
Retrieve an int value from the preferences.
GetLong(string, long) : long
Retrieve a long value from the preferences.
GetString(string, string) : string
Retrieve a String value from the preferences.
GetStringSet(string, ICollection<string>) : ICollection<string>
Documentation for this section has not yet been entered.
RegisterOnSharedPreferenceChangeListener(ISharedPreferencesOnSharedPreferenceChangeListener)
Registers a callback to be invoked when a change happens to a preference.
UnregisterOnSharedPreferenceChangeListener(ISharedPreferencesOnSharedPreferenceChangeListener)
Unregisters a previous callback.