public static final class Contacts.Settings
extends Object implements BaseColumns, Contacts.SettingsColumns



This class was deprecated in API level 5.
see ContactsContract

The settings over all of the people

Summary

Constants

String CONTENT_DIRECTORY

This constant is deprecated. see ContactsContract

String DEFAULT_SORT_ORDER

This constant is deprecated. see ContactsContract

String SYNC_EVERYTHING

This constant is deprecated. see ContactsContract

Inherited constants

From interface android.provider.BaseColumns

String _COUNT

The count of rows in a directory.

String _ID

The unique ID for a row.

From interface android.provider.Contacts.SettingsColumns

String KEY

This constant is deprecated. see ContactsContract

String VALUE

This constant is deprecated. see ContactsContract

String _SYNC_ACCOUNT

This constant is deprecated. see ContactsContract

String _SYNC_ACCOUNT_TYPE

This constant was deprecated in API level 5. see ContactsContract

Fields

public static final Uri CONTENT_URI

This field is deprecated. see ContactsContract

Public methods

static String getSetting(ContentResolver cr, String account, String key)

This method is deprecated. see ContactsContract

static void setSetting(ContentResolver cr, String account, String key, String value)

This method is deprecated. see ContactsContract

Inherited methods

From class java.lang.Object

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Constants

CONTENT_DIRECTORY

public static final String CONTENT_DIRECTORY

This constant is deprecated.
see ContactsContract

The directory twig for this sub-table

Constant Value: "settings"

DEFAULT_SORT_ORDER

public static final String DEFAULT_SORT_ORDER

This constant is deprecated.
see ContactsContract

The default sort order for this table

Constant Value: "key ASC"

SYNC_EVERYTHING

public static final String SYNC_EVERYTHING

This constant is deprecated.
see 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".

Constant Value: "syncEverything"

Fields

CONTENT_URI

public static final Uri CONTENT_URI

This field is deprecated.
see ContactsContract

The content:// style URL for this table

Public methods

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.