Preferences.UserRoot Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
<strong>WARNING:</strong> 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.
[Android.Runtime.Register("userRoot", "()Ljava/util/prefs/Preferences;", "")]
public static Java.Util.Prefs.Preferences? UserRoot ();
[<Android.Runtime.Register("userRoot", "()Ljava/util/prefs/Preferences;", "")>]
static member UserRoot : unit -> Java.Util.Prefs.Preferences
Returns
the root preference node for the calling user.
- Attributes
Remarks
<strong>WARNING:</strong> 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. Further, allowing apps to set "system wide" preferences is contrary to android's security model.
Returns the root preference node for the calling user.
Java documentation for java.util.prefs.Preferences.userRoot()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.