Sdílet prostřednictvím


ContactsContract.Contacts.InterfaceConsts Class

Definition

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

ContactChatCapability

Contact Chat Capabilities.

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.

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.

HasPhoneNumber

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

Id

The unique ID for a row.

InDefaultDirectory

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

InVisibleGroup

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

IsUserProfile

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

LastTimeContacted

The last time a contact was contacted.

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.

NameRawContactId

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

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.

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?

TimesContacted

The number of times a contact has been contacted.

Applies to