Partager via


ContactsContract.Groups.InterfaceConsts Class

Definition

public static class ContactsContract.Groups.InterfaceConsts
type ContactsContract.Groups.InterfaceConsts = class
Inheritance
ContactsContract.Groups.InterfaceConsts

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

AccountName

The name of the account instance to which this row belongs, which when paired with #ACCOUNT_TYPE identifies a specific account.

AccountType

The type of account to which this row belongs, which when paired with #ACCOUNT_NAME identifies a specific account.

AutoAdd

Any newly created contacts will automatically be added to groups that have this flag set to true.

Count

The count of rows in a directory.

DataSet

The data set within the account that this group belongs to.

Deleted

The "deleted" flag: "0" by default, "1" if the row has been marked for deletion.

Dirty

Flag indicating that #VERSION has changed, and this row needs to be synchronized by its owning account.

Favorites

When a contacts is marked as a favorites it will be automatically added to the groups that have this flag set, and when it is removed from favorites it will be removed from these groups.

GroupIsReadOnly

The "read-only" flag: "0" by default, "1" if the row cannot be modified or deleted except by a sync adapter.

GroupVisible

Flag indicating if the contacts belonging to this group should be visible in any user interface.

Id

The unique ID for a row.

Notes

Notes about the group.

ResPackage

The package name to use when creating Resources objects for this group.

ShouldSync

Whether this group should be synced if the SYNC_EVERYTHING settings is false for this group's account.

SourceId

String that uniquely identifies this row to its source account.

SummaryCount

The total number of Contacts that have CommonDataKinds.GroupMembership in this group.

SummaryWithPhones

The total number of Contacts that have both CommonDataKinds.GroupMembership in this group, and also have phone numbers.

Sync1

Generic column for use by sync adapters.

Sync2

Generic column for use by sync adapters.

Sync3

Generic column for use by sync adapters.

Sync4

Generic column for use by sync adapters.

SystemId

The ID of this group if it is a System Group, i.

Title

The display title of this group.

TitleRes

The display title of this group to load as a resource from #RES_PACKAGE, which may be localized.

Version

Version number that is updated whenever this row or its related data changes.

Applies to