Added in API level 1

NameValueTable


class NameValueTable : BaseColumns
Settings.Global

Global system settings, containing preferences that always apply identically to all defined users.

Settings.Secure

Secure system settings, containing system preferences that applications can read but are not allowed to write.

Settings.System

System settings, containing miscellaneous system preferences.

Common base for tables of name/value settings.

Summary

Constants
static String

static String

Inherited constants
String _COUNT

The count of rows in a directory.

Type: INTEGER

String _ID

The unique ID for a row.

Type: INTEGER (long)

Public constructors

Public methods
open static Uri!
getUriFor(uri: Uri!, name: String!)

Protected methods
open static Boolean
putString(resolver: ContentResolver!, uri: Uri!, name: String!, value: String!)

Constants

NAME

Added in API level 1
static val NAME: String
Value: "name"

VALUE

Added in API level 1
static val VALUE: String
Value: "value"

Public constructors

NameValueTable

NameValueTable()

Public methods

getUriFor

Added in API level 1
open static fun getUriFor(
    uri: Uri!,
    name: String!
): Uri!

Protected methods

putString

Added in API level 1
protected open static fun putString(
    resolver: ContentResolver!,
    uri: Uri!,
    name: String!,
    value: String!
): Boolean