Settings.System.GetUriFor(String) 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.
Construct the content URI for a particular name/value pair, useful for monitoring changes with a ContentObserver.
[Android.Runtime.Register("getUriFor", "(Ljava/lang/String;)Landroid/net/Uri;", "")]
public static Android.Net.Uri? GetUriFor (string? name);
[<Android.Runtime.Register("getUriFor", "(Ljava/lang/String;)Landroid/net/Uri;", "")>]
static member GetUriFor : string -> Android.Net.Uri
Parameters
- name
- String
to look up in the table
Returns
the corresponding content URI, or null if not present
- Attributes
Remarks
Construct the content URI for a particular name/value pair, useful for monitoring changes with a ContentObserver.
Java documentation for android.provider.Settings.System.getUriFor(java.lang.String)
.
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.