Language

Contacts.Settings.GetSetting(ContentResolver, String, String) Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("getSetting", "(Landroid/content/ContentResolver;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "")]
[System.Obsolete("deprecated")]
public static string? GetSetting(Android.Content.ContentResolver? cr, string? account, string? key);
[<Android.Runtime.Register("getSetting", "(Landroid/content/ContentResolver;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "")>]
[<System.Obsolete("deprecated")>]
static member GetSetting : Android.Content.ContentResolver * string * string -> string

Parameters

cr
ContentResolver

The resolver used to query the legacy settings provider.

account
String

Not used; the legacy implementation operates on global contact settings.

key
String

The setting key bound to the read query.

Returns

The text in the first matching settings row, or null when no row matches.

Attributes

Remarks

This member is deprecated. see android.provider.ContactsContract

Java documentation for android.provider.Contacts.Settings.getSetting(android.content.ContentResolver, java.lang.String, 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