Parcelable
public class CallItem extends Item
Modifier and Type | Class | Description |
---|---|---|
static class |
CallItem.TimestampComparator |
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.ContentsFlags, Parcelable.Creator<T extends Object>, Parcelable.WriteFlags
Modifier and Type | Field | Description |
---|---|---|
static String |
CONTACT |
|
static Parcelable.Creator<CallItem> |
CREATOR |
|
static String |
DURATION |
|
static String |
TIMESTAMP |
|
static String |
TYPE |
|
static String |
TYPE_INCOMING |
|
static String |
TYPE_MISSED |
|
static String |
TYPE_OUTGOING |
TIME_CREATED
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method | Description |
---|---|---|
String |
getCallType() |
Get the type of the phone call.
|
String |
getContact() |
Get the contact (phone number or name) of the phone call.
|
long |
getDuration() |
Get the duration of the phone call.
|
long |
getTimestamp() |
Get the timestamp of when the phone call happened.
|
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 TIMESTAMP
public static final String CONTACT
public static final String DURATION
public static final String TYPE
public static final String TYPE_INCOMING
public static final String TYPE_OUTGOING
public static final String TYPE_MISSED
public static final Parcelable.Creator<CallItem> CREATOR
public long getTimestamp()
public String getContact()
public long getDuration()
public String getCallType()