The members of Java.Util.Prefs.Preferences are listed below.
See Also: Inherited members from Java.Lang.Object
| Default constructor, for use by subclasses only. | ||
| A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | MaxKeyLength | int (80). Maximum size in characters allowed for a preferences key. |
const | MaxNameLength | int (80). Maximum size in characters allowed for a preferences name. |
const | MaxValueLength | int (8192). Maximum size in characters allowed for a preferences value. |
| [read-only] abstract | IsUserNode | bool. Returns whether this is a user preference node. |
| [read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
| [read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
abstract | AbsolutePath()Gets the absolute path string of this preference node. | |
abstract | AddNodeChangeListener(INodeChangeListener)Registers a NodeChangeListener instance for this node, which will handle NodeChangeEvents. | |
abstract | AddPreferenceChangeListener(IPreferenceChangeListener)Registers a PreferenceChangeListener instance for this node, which will handle PreferenceChangeEvents. | |
abstract | ChildrenNames()Returns the names of all children of this node or an empty array if this node has no children. | |
abstract | Clear()Removes all preferences of this node. | |
abstract | ExportNode(System.IO.Stream)Exports all of the preferences of this node to a XML document using the given output stream. | |
ExportNodeAsync(System.IO.Stream)Documentation for this section has not yet been entered. | ||
abstract | ExportSubtree(System.IO.Stream)Exports all of the preferences of this node and all its descendants to a XML document using the given output stream. | |
ExportSubtreeAsync(System.IO.Stream)Documentation for this section has not yet been entered. | ||
abstract | Flush()Forces all pending updates to this node and its descendants to be persisted in the backing store. | |
FlushAsync()Documentation for this section has not yet been entered. | ||
abstract | Get(string, string)Gets the String value mapped to the given key or its default value if no value is mapped or no backing store is available. | |
abstract | GetBoolean(string, bool)Gets the boolean value mapped to the given key or its default value if no value is mapped, if the backing store is unavailable, or if the value is invalid. | |
abstract | GetByteArray(string, byte[])Gets the byte array value mapped to the given key or its default value if no value is mapped, if the backing store is unavailable, or if the value is an invalid string. | |
abstract | GetDouble(string, double)Gets the double value mapped to the given key or its default value if no value is mapped, if the backing store is unavailable, or if the value is an invalid string. | |
abstract | GetFloat(string, float)Gets the float value mapped to the given key or its default value if no value is mapped, if the backing store is unavailable, or if the value is an invalid string. | |
abstract | GetInt(string, int)Gets the int value mapped to the given key or its default value if no value is mapped, if the backing store is unavailable, or if the value is an invalid string. | |
abstract | GetLong(string, long)Gets the long value mapped to the given key or its default value if no value is mapped, if the backing store is unavailable, or if the value is an invalid string. | |
static | ImportPreferences(System.IO.Stream)Imports all the preferences from an XML document using the given input stream. | |
static | ImportPreferencesAsync(System.IO.Stream)Documentation for this section has not yet been entered. | |
abstract | Keys()Returns all preference keys stored in this node or an empty array if no key was found. | |
abstract | Name()Returns the name of this node. | |
abstract | Node(string)Returns the preference node with the given path name. | |
abstract | NodeExists(string)Returns whether the preference node with the given path name exists. | |
abstract | Parent()Returns the parent preference node of this node or null if this node is the root node. | |
abstract | Put(string, string)Adds a new preference to this node using the given key and value or updates the value if a preference with the given key already exists. | |
abstract | PutBoolean(string, bool)Adds a new preference with a boolean value to this node using the given key and value or updates the value if a preference with the given key already exists. | |
abstract | PutByteArray(string, byte[])Adds a new preference to this node using the given key and the string form of the given value or updates the value if a preference with the given key already exists. | |
abstract | PutDouble(string, double)Adds a new preference to this node using the given key and double value or updates the value if a preference with the given key already exists. | |
abstract | PutFloat(string, float)Adds a new preference to this node using the given key and float value or updates the value if a preference with the given key already exists. | |
abstract | PutInt(string, int)Adds a new preference to this node using the given key and int value or updates the value if a preference with the given key already exists. | |
abstract | PutLong(string, long)Adds a new preference to this node using the given key and long value or updates the value if a preference with the given key already exists. | |
abstract | Remove(string)Removes the preference mapped to the given key from this node. | |
abstract | RemoveNode()Removes this preference node with all its descendants. | |
abstract | RemoveNodeChangeListener(INodeChangeListener)Removes the given NodeChangeListener instance from this node. | |
abstract | RemovePreferenceChangeListener(IPreferenceChangeListener)Removes the given PreferenceChangeListener instance from this node. | |
abstract | Sync()Synchronizes the data of this preference node and its descendants with the back-end preference store. | |
SyncAsync()Documentation for this section has not yet been entered. | ||
static | SystemNodeForPackage(Java.Lang.Class)Documentation for this section has not yet been entered. | |
static | SystemRoot()Legacy code; do not use. On Android, the Preference nodes corresponding to the "system" and "user" preferences are stored in sections of the file system that are inaccessible to apps. | |
abstract | ToString()Returns a string representation of this node. | |
static | UserNodeForPackage(Java.Lang.Class)Documentation for this section has not yet been entered. | |
static | UserRoot()Legacy code; do not use. On Android, the Preference nodes corresponding to the "system" and "user" preferences are stored in sections of the file system that are inaccessible to apps. | |