Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/provider/ContactsContract.SettingsColumns#constants)

# ContactsContract.SettingsColumns

*** ** * ** ***

` protected static interface ContactsContract.SettingsColumns `   
` `

|---|
| android.provider.ContactsContract.SettingsColumns |

Known indirect subclasses [ContactsContract.Settings](https://developer.android.com/reference/android/provider/ContactsContract.Settings) [ContactsContract.Settings](https://developer.android.com/reference/android/provider/ContactsContract.Settings) Contacts-specific settings for various `https://developer.android.com/reference/android/accounts/Account`'s.

*** ** * ** ***

**See also:**

- `https://developer.android.com/reference/android/provider/ContactsContract.Settings`

## Summary

| ### Constants ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.SettingsColumns#ACCOUNT_NAME` The name of the account instance to which this row belongs. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.SettingsColumns#ACCOUNT_TYPE` The type of account to which this row belongs, which when paired with `https://developer.android.com/reference/android/provider/ContactsContract.SettingsColumns#ACCOUNT_NAME` identifies a specific account. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.SettingsColumns#ANY_UNSYNCED` Read-only flag indicating if this `https://developer.android.com/reference/android/provider/ContactsContract.SettingsColumns#SHOULD_SYNC` or any `https://developer.android.com/reference/android/provider/ContactsContract.GroupsColumns#SHOULD_SYNC` under this account have been marked as unsynced. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.SettingsColumns#DATA_SET` The data set within the account that this row belongs to. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.SettingsColumns#SHOULD_SYNC` Depending on the mode defined by the sync-adapter, this flag controls the top-level sync behavior for this data source. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.SettingsColumns#UNGROUPED_COUNT` Read-only count of `https://developer.android.com/reference/android/provider/ContactsContract.Contacts` from a specific source that have no `https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.GroupMembership` entries. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.SettingsColumns#UNGROUPED_VISIBLE` Flag indicating if contacts without any `https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.GroupMembership` entries should be visible in any user interface. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.SettingsColumns#UNGROUPED_WITH_PHONES` Read-only count of `https://developer.android.com/reference/android/provider/ContactsContract.Contacts` from a specific source that have no `https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.GroupMembership` entries, and also have phone numbers. |

## Constants

### ACCOUNT_NAME

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

```
public static final String ACCOUNT_NAME
```

The name of the account instance to which this row belongs.

Type: TEXT

<br />

<br />

Constant Value: "account_name"

### ACCOUNT_TYPE

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

```
public static final String ACCOUNT_TYPE
```

The type of account to which this row belongs, which when paired with `https://developer.android.com/reference/android/provider/ContactsContract.SettingsColumns#ACCOUNT_NAME` identifies a specific account.

Type: TEXT

<br />

<br />

Constant Value: "account_type"

### ANY_UNSYNCED

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

```
public static final String ANY_UNSYNCED
```

Read-only flag indicating if this `https://developer.android.com/reference/android/provider/ContactsContract.SettingsColumns#SHOULD_SYNC` or any `https://developer.android.com/reference/android/provider/ContactsContract.GroupsColumns#SHOULD_SYNC` under this account have been marked as unsynced.

<br />

Constant Value: "any_unsynced"

### DATA_SET

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

```
public static final String DATA_SET
```

The data set within the account that this row belongs to. This allows multiple sync adapters for the same account type to distinguish between each others' data. This is empty by default, and is completely optional. It only needs to be populated if multiple sync adapters are entering distinct data for the same account type and account name.

Type: TEXT

<br />

<br />

Constant Value: "data_set"

### SHOULD_SYNC

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

```
public static final String SHOULD_SYNC
```

Depending on the mode defined by the sync-adapter, this flag controls the top-level sync behavior for this data source.

Type: INTEGER (boolean)

<br />

Constant Value: "should_sync"

### UNGROUPED_COUNT

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

```
public static final String UNGROUPED_COUNT
```

Read-only count of `https://developer.android.com/reference/android/provider/ContactsContract.Contacts` from a specific source that have no `https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.GroupMembership` entries.

Type: INTEGER

<br />

Constant Value: "summ_count"

### UNGROUPED_VISIBLE

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

```
public static final String UNGROUPED_VISIBLE
```

Flag indicating if contacts without any `https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.GroupMembership` entries should be visible in any user interface.

Type: INTEGER (boolean)

<br />

Constant Value: "ungrouped_visible"

### UNGROUPED_WITH_PHONES

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

```
public static final String UNGROUPED_WITH_PHONES
```

Read-only count of `https://developer.android.com/reference/android/provider/ContactsContract.Contacts` from a specific source that have no `https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.GroupMembership` entries, and also have phone numbers.

Type: INTEGER

<br />

Constant Value: "summ_phones"