Udostępnij za pośrednictwem


Settings.Global.GetUriFor(String) Method

Definition

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

Uri

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.Global.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.

Applies to