Fields Summary |
---|
public static final int | ADDRField specifying an address for this Contact. Data for this field is of
STRING_ARRAY type. |
public static final int | BIRTHDAYField for the birthday of the Contact. Data for this field is
expressed in the same long value format as java.util.Date, which is
milliseconds since the epoch (00:00:00 GMT, January 1, 1970).
Note that the value provided may be rounded-down by an implementation due
to platform restrictions. For example, should a native Contact database
only support contact date values with granularity in terms of seconds,
then the provided date value is rounded down to a date time with a
full second.
|
public static final int | CLASSField specifying the desired access class for this contact.
Data associated with this field is of int type, and can be one of the
values {@link #CLASS_PRIVATE}, {@link #CLASS_PUBLIC}, or
{@link #CLASS_CONFIDENTIAL}. |
public static final int | EMAILField for an e-mail address. Data for this field is of String type. |
public static final int | FORMATTED_ADDRField represents a formatted version of a complete address for the
Contact entry. This string is typically a single string containing the
complete address separated with CRLF separators. This field is typically
present for contact databases that support only one field for a contact's
address, or for specifying address label format. Data for this field is
of STRING type.
For example:
"123 Main St.
Anytown, CA 99999
USA" |
public static final int | FORMATTED_NAMEField represents a formatted version of a name for the Contact
entry. Data for this field is of STRING type. The string data associated
with this field conforms to the X.520 Common Name attribute format.
For example:
"Mr. John Q. Public, Esq." |
public static final int | NAMEField specifying the name for this contact. Data for this field is of
STRING_ARRAY type. |
public static final int | NICKNAMEField where the data represents a nickname. Data for this field is of
STRING type.
For example:
"Copier Man" |
public static final int | NOTEField specifying supplemental information or a comment associated
with a Contact. Data for this field is of
String type. The data associated with this field follows the
X.520 Description data format. For example:
"The fax number is operational 0800 to 1715 EST, Mon-Fri." |
public static final int | ORGField specifying the organization name or units associated with a
Contact. Data for this field is of
String type. The data associated with this field is based on the X.520
Organization data format. For example:
"ABC Inc." |
public static final int | PHOTOField specifying a photo for a Contact. Data associated with this field
is inline binary. Manipulation of this field may affect data stored in
the PHOTO_URL field since some implementation may use the
same memory for both fields (e.g. one can either have PHOTO or have
PHOTO_URL but not both). |
public static final int | PHOTO_URLField specifying a photo of a Contact. Data associated
with this field is of String type, representing a URL for the photo.
Manipulation of this field may affect data stored in the
PHOTO field since some implementation may use the same
memory for both fields (e.g. one can either have PHOTO or have PHOTO_URL
but not both). |
public static final int | PUBLIC_KEYField specifying the public encryption key for a Contact.
Data associated with this field is inline binary encoded data.
Manipulation of this field may affect data stored in the
PUBLIC_KEY_STRING field since some implementation may use
the same memory for both fields (e.g. one can either have PUBLIC_KEY or
have PUBLIC_KEY_STRING but not both). |
public static final int | PUBLIC_KEY_STRINGField specifying the public encryption key for a Contact.
Data associated with this field is of String type.
Manipulation of this field may affect data stored in the
PUBLIC_KEY field since some implementation may use the same
memory for both fields (e.g. one can either have PUBLIC_KEY or have
PUBLIC_KEY_STRING but not both). |
public static final int | REVISIONField specifying the last modification date and time of a Contact
item. If the Contact has ever been committed to a ContactList, then
this attribute becomes read only. This field is set automatically on
imports and commits of a Contact. Data for this field is expressed
in the same long value format as java.util.Date, which is
milliseconds since the epoch (00:00:00 GMT, January 1, 1970).
Note that the value provided may be rounded-down by an implementation due
to platform restrictions. For example, should a native Contact database
only support contact date values with granularity in terms of seconds,
then the provided date value is rounded down to a date time with a
full second.
|
public static final int | TELField for a voice telephone number. Data associated with this field is
of String type and can be any valid String. No telephone formatting
is enforced since many native implementations allow free form text to
be associated with TEL fields. |
public static final int | TITLEField specifying the job title for a Contact. Data for this field is of
String type. This title is based on the X.520 Title attributes.
For example:
"Director, Research and Development" |
public static final int | UIDField specifying a unique ID for a Contact. This field can be
used to check for identity using String.equals . UID is
read only if the Contact has been committed to a ContactList at least
once in its lifetime. The UID is not set if the
Contact has never been committed to a ContactList;
countValues(UID) returns 0 before a newly created
Contact object is committed to its list. The attribute is valid
for the persistent life of the Contact and may be reused by the platform
once this particular Contact is deleted. Data for this field is of
String data type. |
public static final int | URLField specifying the uniform resource locator for a Contact. Data for
this field is of String data type.
For example:
"http://www.swbyps.restaurant.french/~chezchic.html" |
public static final int | ATTR_ASSTAttribute classifying a data value as related to an ASSISTANT. |
public static final int | ATTR_AUTOAttribute classifying a data value as related to AUTO. |
public static final int | ATTR_FAXAttribute classifying a data value as related to FAX. |
public static final int | ATTR_HOMEAttribute classifying a data value as related to HOME. |
public static final int | ATTR_MOBILEAttribute classifying a data value as related to MOBILE. |
public static final int | ATTR_OTHERAttribute classifying a data value as "OTHER". |
public static final int | ATTR_PAGERAttribute classifying a data value as related to PAGER. |
public static final int | ATTR_PREFERREDAttribute classifying a data value with preferred status for
retrieval or display purposes (platform specific). Only one value in
a field may be marked as preferred. Subsequent assigning of preferred
status to values in a field overrides any previous preferred status
indications. |
public static final int | ATTR_SMSAttribute classifying a data value as related to SMS. |
public static final int | ATTR_WORKAttribute classifying a data value as related to WORK. |
public static final int | ADDR_POBOXIndex into the string array for an address field, where the data at
this index represents the post office box of a particular address. Data
for this field is of String type. |
public static final int | ADDR_EXTRAIndex into the string array for an address field, where the data at
this index represents any extra info of a particular address. Data for
this field is of String type. |
public static final int | ADDR_STREETIndex into the string array for an address field, where the data at
this index represents the street information of a particular address.
Data for this field is of String type. |
public static final int | ADDR_LOCALITYIndex into the string array for an address field, where the data at
this index represents the locality (for example, a city) of a particular
address. Data for this field is of String type. |
public static final int | ADDR_REGIONIndex into the string array for an address field, where the data at
this index represents the region (for example, a province, state, or
territory) of a particular address.
Data for this field is of String type. |
public static final int | ADDR_POSTALCODEIndex into the string array for an address field, where the data at
this index represents the postal code (for example, a zip code) of a
particular address. Data for this field is of String type. |
public static final int | ADDR_COUNTRYIndex into the string array for an address field, where the data at
this index represents the country of a particular address. Data for this
field is of String type. |
public static final int | NAME_FAMILYIndex into the string array for a name field, where the data at
this index represents the family name.
For example:
"Stevenson" |
public static final int | NAME_GIVENIndex into the string array for a name field, where the data at
this index represents the given name.
For example:
"Johnathan" |
public static final int | NAME_OTHERIndex into the string array for a name field, where the data at
this index represents other alternate name or names.
For example:
"John, Johnny" |
public static final int | NAME_PREFIXIndex into the string array for a name field, where the data at
this index represents a prefix to a name.
For example:
"Dr." |
public static final int | NAME_SUFFIXIndex into the string array for a name field, where the data at
this index represents a suffix to a name.
For example:
"M.D., A.C.P." |
public static final int | CLASS_CONFIDENTIALConstant indicating this contact's class of access is confidential. |
public static final int | CLASS_PRIVATEConstant indicating this contact's class of access is private. |
public static final int | CLASS_PUBLICConstant indicating this contact's class of access is public. |