Preferences.SystemRoot 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("systemRoot", "()Ljava/util/prefs/Preferences;", "")]
public static Java.Util.Prefs.Preferences? SystemRoot ();
[<Android.Runtime.Register("systemRoot", "()Ljava/util/prefs/Preferences;", "")>]
static member SystemRoot : unit -> Java.Util.Prefs.Preferences
Returns
the root preference node for the system.
- 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 system.
Java documentation for java.util.prefs.Preferences.systemRoot()
.
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.