public static final class

ContactsContract.Settings

extends Object
implements ContactsContract.SettingsColumns
java.lang.Object
   ↳android.provider.ContactsContract.Settings

Class Overview

Contacts-specific settings for various Account's.

Columns

Settings
StringACCOUNT_NAMEread/write-onceThe name of the account instance to which this row belongs.
StringACCOUNT_TYPEread/write-onceThe type of account to which this row belongs, which when paired with ACCOUNT_NAME identifies a specific account.
intSHOULD_SYNCread/writeDepending on the mode defined by the sync-adapter, this flag controls the top-level sync behavior for this data source.
intUNGROUPED_VISIBLEread/writeFlag indicating if contacts without any ContactsContract.CommonDataKinds.GroupMembership entries should be visible in any user interface.
intANY_UNSYNCEDread-onlyRead-only flag indicating if this SHOULD_SYNC or any SHOULD_SYNC under this account have been marked as unsynced.
intUNGROUPED_COUNTread-onlyRead-only count of Contacts from a specific source that have no ContactsContract.CommonDataKinds.GroupMembership entries.
intUNGROUPED_WITH_PHONESread-onlyRead-only count of Contacts from a specific source that have no ContactsContract.CommonDataKinds.GroupMembership entries, and also have phone numbers.

Summary

Constants
StringCONTENT_ITEM_TYPEThe MIME-type of CONTENT_URI providing a single setting.
StringCONTENT_TYPEThe MIME-type of CONTENT_URI providing a directory of settings.
UriCONTENT_URIThe content:// style URI for this table
[Expand]
Inherited Constants
From interface android.provider.ContactsContract.SettingsColumns
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String CONTENT_ITEM_TYPE

Since: API Level 5

The MIME-type of CONTENT_URI providing a single setting.

Constant Value: "vnd.android.cursor.item/setting"

public static final String CONTENT_TYPE

Since: API Level 5

The MIME-type of CONTENT_URI providing a directory of settings.

Constant Value: "vnd.android.cursor.dir/setting"

public static final Uri CONTENT_URI

Since: API Level 5

The content:// style URI for this table