Added in API level 1
Deprecated in API level 5

Settings


class Settings : BaseColumns, Contacts.SettingsColumns
kotlin.Any
   ↳ android.provider.Contacts.Settings

The settings over all of the people

Summary

Constants
static String

The directory twig for this sub-table

static String

The default sort order for this table

static String

A setting that is used to indicate if we should sync down all groups for the specified account.

Inherited constants
Public methods
static String!
getSetting(cr: ContentResolver!, account: String!, key: String!)

static Unit
setSetting(cr: ContentResolver!, account: String!, key: String!, value: String!)

Properties
static Uri!

The content:// style URL for this table

Constants

CONTENT_DIRECTORY

Added in API level 1
static val CONTENT_DIRECTORY: String

Deprecated: see android.provider.ContactsContract

The directory twig for this sub-table

Value: "settings"

DEFAULT_SORT_ORDER

Added in API level 1
static val DEFAULT_SORT_ORDER: String

Deprecated: see android.provider.ContactsContract

The default sort order for this table

Value: "key ASC"

SYNC_EVERYTHING

Added in API level 1
static val SYNC_EVERYTHING: String

Deprecated: see android.provider.ContactsContract

A setting that is used to indicate if we should sync down all groups for the specified account. For this setting the _SYNC_ACCOUNT column must be set. If this isn't set then we will only sync the groups whose SHOULD_SYNC column is set to true.

This is a boolean setting. It is true if it is set and it is anything other than the emptry string or "0".

Value: "syncEverything"

Public methods

getSetting

Added in API level 1
static fun getSetting(
    cr: ContentResolver!,
    account: String!,
    key: String!
): String!

Deprecated: see android.provider.ContactsContract

setSetting

Added in API level 1
static fun setSetting(
    cr: ContentResolver!,
    account: String!,
    key: String!,
    value: String!
): Unit

Deprecated: see android.provider.ContactsContract

Properties

CONTENT_URI

Added in API level 1
static val CONTENT_URI: Uri!

Deprecated: see android.provider.ContactsContract

The content:// style URL for this table