Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/provider/Contacts.Settings#constants) \| [Inherited Constants](https://developer.android.com/reference/android/provider/Contacts.Settings#inhconstants) \| [Fields](https://developer.android.com/reference/android/provider/Contacts.Settings#lfields) \| [Methods](https://developer.android.com/reference/android/provider/Contacts.Settings#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/provider/Contacts.Settings#inhmethods)

# Contacts.Settings

*** ** * ** ***

` public static final class Contacts.Settings `   
` extends https://developer.android.com/reference/java/lang/Object ` ` implements https://developer.android.com/reference/android/provider/BaseColumns, https://developer.android.com/reference/android/provider/Contacts.SettingsColumns `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.provider.Contacts.Settings |

<br />

*** ** * ** ***

<br />

**This class was deprecated in API level 5.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The settings over all of the people

## Summary

| ### Constants ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Settings#CONTENT_DIRECTORY` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Settings#DEFAULT_SORT_ORDER` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Settings#SYNC_EVERYTHING` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |

### Inherited constants

From interface `https://developer.android.com/reference/android/provider/BaseColumns` `https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/BaseColumns#_COUNT`

The count of rows in a directory.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/BaseColumns#_ID`

The unique ID for a row.
From interface `https://developer.android.com/reference/android/provider/Contacts.SettingsColumns` `https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Contacts.SettingsColumns#KEY`

*This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`*
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Contacts.SettingsColumns#VALUE`

*This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`*
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Contacts.SettingsColumns#_SYNC_ACCOUNT`

*This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`*
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Contacts.SettingsColumns#_SYNC_ACCOUNT_TYPE`

*This constant was deprecated in API level 5. see `https://developer.android.com/reference/android/provider/ContactsContract`*

| ### Fields ||
|---|---|
| ` public static final https://developer.android.com/reference/android/net/Uri` | `https://developer.android.com/reference/android/provider/Contacts.Settings#CONTENT_URI` *This field is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |

| ### Public methods ||
|---|---|
| ` static https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/android/provider/Contacts.Settings#getSetting(android.content.ContentResolver,%20java.lang.String,%20java.lang.String)(https://developer.android.com/reference/android/content/ContentResolver cr, https://developer.android.com/reference/java/lang/String account, https://developer.android.com/reference/java/lang/String key) ` *This method is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| ` static void` | ` https://developer.android.com/reference/android/provider/Contacts.Settings#setSetting(android.content.ContentResolver,%20java.lang.String,%20java.lang.String,%20java.lang.String)(https://developer.android.com/reference/android/content/ContentResolver cr, https://developer.android.com/reference/java/lang/String account, https://developer.android.com/reference/java/lang/String key, https://developer.android.com/reference/java/lang/String value) ` *This method is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(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` ` https://developer.android.com/reference/java/lang/Object#wait(long)(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` ` https://developer.android.com/reference/java/lang/Object#wait()() `

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

## Constants

### CONTENT_DIRECTORY

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String CONTENT_DIRECTORY
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The directory twig for this sub-table

<br />

Constant Value: "settings"

### DEFAULT_SORT_ORDER

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DEFAULT_SORT_ORDER
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The default sort order for this table

<br />

Constant Value: "key ASC"

### SYNC_EVERYTHING

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String SYNC_EVERYTHING
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/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".

<br />

Constant Value: "syncEverything"

## Fields

### CONTENT_URI

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final Uri CONTENT_URI
```

<br />

**This field is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The content:// style URL for this table

<br />

## Public methods

### getSetting

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

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

<br />

**This method is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

<br />

<br />

| Parameters ||
|---|---|
| `cr` | `ContentResolver` <br /> |
| `account` | `String` <br /> |
| `key` | `String` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | <br /> |

### setSetting

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

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

<br />

**This method is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

<br />

<br />

| Parameters ||
|---|---|
| `cr` | `ContentResolver` <br /> |
| `account` | `String` <br /> |
| `key` | `String` <br /> |
| `value` | `String` <br /> |