Most visited

Recently visited

Added in API level 5

ContactsContract.Settings

public static final class ContactsContract.Settings
extends Object implements ContactsContract.SettingsColumns

java.lang.Object
   ↳ android.provider.ContactsContract.Settings


各种 Account的联系人特定设置。

Columns

Settings
String ACCOUNT_NAME read/write-once The name of the account instance to which this row belongs.
String ACCOUNT_TYPE read/write-once The type of account to which this row belongs, which when paired with ACCOUNT_NAME identifies a specific account.
int SHOULD_SYNC read/write Depending on the mode defined by the sync-adapter, this flag controls the top-level sync behavior for this data source.
int UNGROUPED_VISIBLE read/write Flag indicating if contacts without any ContactsContract.CommonDataKinds.GroupMembership entries should be visible in any user interface.
int ANY_UNSYNCED read-only Read-only flag indicating if this SHOULD_SYNC or any SHOULD_SYNC under this account have been marked as unsynced.
int UNGROUPED_COUNT read-only Read-only count of Contacts from a specific source that have no ContactsContract.CommonDataKinds.GroupMembership entries.
int UNGROUPED_WITH_PHONES read-only Read-only count of Contacts from a specific source that have no ContactsContract.CommonDataKinds.GroupMembership entries, and also have phone numbers.

Summary

Constants

String CONTENT_ITEM_TYPE

提供单个设置的MIME类型 CONTENT_URI

String CONTENT_TYPE

提供设置目录的MIME类型 CONTENT_URI

Inherited constants

From interface android.provider.ContactsContract.SettingsColumns

Fields

public static final Uri CONTENT_URI

该表格的内容://样式URI

Inherited methods

From class java.lang.Object

Constants

CONTENT_ITEM_TYPE

Added in API level 5
String CONTENT_ITEM_TYPE

提供单个设置的MIME类型 CONTENT_URI

常量值:“vnd.android.cursor.item / setting”

CONTENT_TYPE

Added in API level 5
String CONTENT_TYPE

提供设置目录的MIME类型 CONTENT_URI

常量值:“vnd.android.cursor.dir / setting”

Fields

CONTENT_URI

Added in API level 5
Uri CONTENT_URI

该表格的内容://样式URI

Hooray!