Freigeben über


ContactsContract.PhoneLookup.InterfaceConsts Class

Definition

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

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.

Count

The count of rows in a directory.

CustomRingtone

URI for a custom ringtone associated with the contact.

DataId

The ID of the data row.

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.

Label

The user defined label for the phone number.

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.

NormalizedNumber

The phone number's E164 representation.

Number

The phone number as the user entered it.

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.

Type

The type of phone number, for example Home or Work.

Applies to