Settings.Global.GetString(ContentResolver, String) Method

Definition

Look up a name in the database.

[Android.Runtime.Register("getString", "(Landroid/content/ContentResolver;Ljava/lang/String;)Ljava/lang/String;", "")]
public static string? GetString (Android.Content.ContentResolver? resolver, string? name);
[<Android.Runtime.Register("getString", "(Landroid/content/ContentResolver;Ljava/lang/String;)Ljava/lang/String;", "")>]
static member GetString : Android.Content.ContentResolver * string -> string

Parameters

resolver
ContentResolver

to access the database with

name
String

to look up in the table

Returns

the corresponding value, or null if not present

Attributes

Remarks

Look up a name in the database.

Java documentation for android.provider.Settings.Global.getString(android.content.ContentResolver, 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