Android.Preferences.PreferenceManager Members

The members of Android.Preferences.PreferenceManager are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
KeyHasSetDefaultValuesstring.
const
MetadataKeyPreferencesstring. The Activity meta-data key for its XML preference hierarchy.

Public Properties

[read-only]
SharedPreferencesAndroid.Content.ISharedPreferences. Gets a SharedPreferences instance that preferences managed by this will use.
SharedPreferencesModeAndroid.Content.FileCreationMode. Returns the current mode of the SharedPreferences file that preferences managed by this will use.
SharedPreferencesNamestring. Returns the current name of the SharedPreferences file that preferences managed by this will use.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

CreatePreferenceScreen(Android.Content.Context) : PreferenceScreen
FindPreference(Java.Lang.ICharSequence) : Preference
Finds a Android.Preferences.Preference based on its key.
FindPreference(string) : Preference
Documentation for this section has not yet been entered.
static
GetDefaultSharedPreferences(Android.Content.Context) : Android.Content.ISharedPreferences
Gets a SharedPreferences instance that points to the default file that is used by the preference framework in the given context.
static
SetDefaultValues(Android.Content.Context, int, bool)
Sets the default values from an XML preference file by reading the values defined by each Android.Preferences.Preference item's android:defaultValue attribute.
static
SetDefaultValues(Android.Content.Context, string, Android.Content.FileCreationMode, int, bool)
Similar to PreferenceManager.SetDefaultValues(Android.Content.Context, System.Int32, System.Int32) but allows the client to provide the filename and mode of the shared preferences file.