Share via


ContactsContract.RawContacts.InterfaceConsts Class

Definition

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

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.

BackupId

Persistent unique id for each raw_contact within its account.

ContactId

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

Count

The count of rows in a directory.

CustomRingtone

URI for a custom ringtone associated with the contact.

DataSet

The data set within the account that this row 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.

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.

Id

The unique ID for a row.

LastTimeContacted

The last time a contact was contacted.

MetadataDirty

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

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.

Pinned

The position at which the contact is pinned.

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.

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.

SourceId

String that uniquely identifies this row to its source account.

Starred

Is the contact starred?

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.

Version

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

Applies to