Share via


ContactsContract.CommonDataKinds.Event.InterfaceConsts Class

Definition

public static class ContactsContract.CommonDataKinds.Event.InterfaceConsts
type ContactsContract.CommonDataKinds.Event.InterfaceConsts = class
Inheritance
ContactsContract.CommonDataKinds.Event.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

AccountTypeAndDataSet

A concatenation of the account type and data set (delimited by a forward slash) - if the data set is empty, this will be the same as the account type.

AggregationMode

The aggregation mode for this contact.

Available
Obsolete.

An allowed value of #PRESENCE.

Away
Obsolete.

An allowed value of #PRESENCE.

BackupId

Persistent unique id for each raw_contact within its account.

CapabilityHasCamera
Obsolete.

An allowed flag of #CHAT_CAPABILITY.

CapabilityHasVideo
Obsolete.

An allowed flag of #CHAT_CAPABILITY.

CapabilityHasVoice
Obsolete.

An allowed flag of #CHAT_CAPABILITY.

CarrierPresence

Carrier presence information.

CarrierPresenceVtCapable

Indicates that the entry is Video Telephony (VT) capable on the current carrier.

ChatCapability

Contact's audio/video chat capability level.

ContactChatCapability

Contact Chat Capabilities.

ContactId

A reference to the ContactsContract.Contacts#_ID that this data belongs to.

ContactLastUpdatedTimestamp

Timestamp (milliseconds since epoch) of when this contact was last updated.

ContactPresence

Contact presence status.

ContactStatus

Contact's latest status update.

ContactStatusIcon

The resource ID of the icon for the source of contact status.

ContactStatusLabel

The resource ID of the label describing the source of contact status, e.

ContactStatusResPackage

The package containing resources for this status: label and icon.

ContactStatusTimestamp

The absolute time in milliseconds when the latest status was inserted/updated.

Count

The count of rows in a directory.

CustomRingtone

URI for a custom ringtone associated with the contact.

Data
Data1

Generic data column, the meaning is #MIMETYPE specific

Data10

Generic data column, the meaning is #MIMETYPE specific

Data11

Generic data column, the meaning is #MIMETYPE specific

Data12

Generic data column, the meaning is #MIMETYPE specific

Data13

Generic data column, the meaning is #MIMETYPE specific

Data14

Generic data column, the meaning is #MIMETYPE specific

Data15

Generic data column, the meaning is #MIMETYPE specific.

Data2

Generic data column, the meaning is #MIMETYPE specific

Data3

Generic data column, the meaning is #MIMETYPE specific

Data4

Generic data column, the meaning is #MIMETYPE specific

Data5

Generic data column, the meaning is #MIMETYPE specific

Data6

Generic data column, the meaning is #MIMETYPE specific

Data7

Generic data column, the meaning is #MIMETYPE specific

Data8

Generic data column, the meaning is #MIMETYPE specific

Data9

Generic data column, the meaning is #MIMETYPE specific

DataSet

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

DataVersion

The version of this data record.

Deleted

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

DisplayName

The display name for the contact.

DisplayNameAlternative

An alternative representation of the display name, such as "family name first" instead of "given name first" for Western names.

DisplayNamePrimary

The standard text shown as the contact's display name, based on the best available information for the contact (for example, it might be the email address if the name is not available).

DisplayNameSource

The kind of data that is used as the display name for the contact, such as structured name or email address.

DoNotDisturb
Obsolete.

An allowed value of #PRESENCE.

HasPhoneNumber

An indicator of whether this contact has at least one phone number.

Id

The unique ID for a row.

Idle
Obsolete.

An allowed value of #PRESENCE.

InDefaultDirectory

Flag that reflects whether the contact exists inside the default directory.

Invisible
Obsolete.

An allowed value of #PRESENCE.

InVisibleGroup

Flag that reflects the Groups#GROUP_VISIBLE state of any CommonDataKinds.GroupMembership for this contact.

IsPrimary

Whether this is the primary entry of its kind for the raw contact it belongs to.

IsReadOnly

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

IsSuperPrimary

Whether this is the primary entry of its kind for the aggregate contact it belongs to.

IsUserProfile

Flag that reflects whether this contact represents the user's personal profile entry.

Label
LastTimeContacted

The last time a contact was contacted.

LastTimeUsed

The last time (in milliseconds) this Data was used.

LookupKey

An opaque value that contains hints on how to find the contact if its row id changed as a result of a sync or aggregation.

MetadataDirty

Flag indicating that a raw contact's metadata has changed, and its metadata needs to be synchronized by the server.

Mimetype

The MIME type of the item represented by this row.

NameRawContactId

Reference to the row in the RawContacts table holding the contact name.

Offline
Obsolete.

An allowed value of #PRESENCE.

PhoneticName

Pronunciation of the full name in the phonetic alphabet specified by #PHONETIC_NAME_STYLE.

PhoneticNameStyle

The phonetic alphabet used to represent the #PHONETIC_NAME.

PhotoFileId

Photo file ID of the full-size photo.

PhotoId

Reference to the row in the data table holding the photo.

PhotoThumbnailUri

A URI that can be used to retrieve a thumbnail of the contact's photo.

PhotoUri

A URI that can be used to retrieve the contact's full-size photo.

Pinned

The position at which the contact is pinned.

PreferredPhoneAccountComponentName

The flattened android.content.ComponentName of a android.telecom.PhoneAccountHandle that is the preferred PhoneAccountHandle to call the contact with.

PreferredPhoneAccountId

The ID of a android.telecom.PhoneAccountHandle that is the preferred PhoneAccountHandle to call the contact with.

Presence

Contact's latest presence level.

PresenceCustomStatus
Obsolete.

This member is deprecated.

PresenceStatus
Obsolete.

This member is deprecated.

RawContactId

A reference to the RawContacts#_ID that this data belongs to.

RawContactIsReadOnly

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

RawContactIsUserProfile

Flag that reflects whether this raw contact belongs to the user's personal profile entry.

ResPackage

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

SendToVoicemail

Whether the contact should always be sent to voicemail.

SortKeyAlternative

Sort key based on the alternative representation of the full name, #DISPLAY_NAME_ALTERNATIVE.

SortKeyPrimary

Sort key that takes into account locale-based traditions for sorting names in address books.

Starred

Is the contact starred?

Status

Contact latest status update.

StatusIcon

The resource ID of the icon for the source of the status update.

StatusLabel

The resource ID of the label describing the source of the status update, e.

StatusResPackage

The package containing resources for this status: label and icon.

StatusTimestamp

The absolute time in milliseconds when the latest status was inserted/updated.

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.

TimesContacted

The number of times a contact has been contacted.

TimesUsed

The number of times the referenced Data has been used.

Type
TypeCustom

Applies to