Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

Settings.NameValueTable

public static class Settings.NameValueTable
extends Object implements BaseColumns

java.lang.Object
   ↳ android.provider.Settings.NameValueTable


Common base for tables of name/value settings.

Summary

Constants

String NAME

String VALUE

Inherited constants

Public constructors

Settings.NameValueTable()

Public methods

static Uri getUriFor(Uri uri, String name)

Protected methods

static boolean putString(ContentResolver resolver, Uri uri, String name, String value)

Inherited methods

Constants

NAME

added in API level 1
public static final String NAME

Constant Value: "name"

VALUE

added in API level 1
public static final String VALUE

Constant Value: "value"

Public constructors

Settings.NameValueTable

added in API level 1
public Settings.NameValueTable ()

Public methods

getUriFor

added in API level 1
public static Uri getUriFor (Uri uri, 
                String name)

Parameters
uri Uri

name String

Returns
Uri

Protected methods

putString

added in API level 1
protected static boolean putString (ContentResolver resolver, 
                Uri uri, 
                String name, 
                String value)

Parameters
resolver ContentResolver

uri Uri

name String

value String

Returns
boolean