Parcelable
public class ContactItem extends Item
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.ContentsFlags, Parcelable.Creator<T extends Object>, Parcelable.WriteFlags
Modifier and Type | Field | Description |
---|---|---|
static Parcelable.Creator<ContactItem> |
CREATOR |
|
static String |
EMAILS |
|
static String |
ID |
|
static String |
NAME |
|
static String |
PHONES |
TIME_CREATED
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method | Description |
---|---|---|
ArrayList<String> |
getEmailAddresses() |
Get the email addresses of the contact
|
String |
getId() |
Get the contact's unique ID, as stored in Android database.
|
String |
getName() |
Get the contact name.
|
ArrayList<String> |
getPhoneNumbers() |
Get the phone numbers of the contact.
|
containsField, describeContents, getAsBoolean, getAsDouble, getAsFloat, getAsInteger, getAsLong, getAsString, getBundle, getValueByField, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setParcelableArrayListFieldValue, setStringArrayListFieldValue, toDebugString, writeToParcel
public static final String ID
public static final String NAME
public static final String PHONES
public static final String EMAILS
public static final Parcelable.Creator<ContactItem> CREATOR
public String getId()
public String getName()
public ArrayList<String> getPhoneNumbers()