|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.provider.CallLog.Calls
public static class CallLog.Calls
Contains the recent calls.
| Field Summary | |
|---|---|
static String |
CACHED_NAME
The cached name associated with the phone number, if it exists. |
static String |
CACHED_NUMBER_LABEL
The cached number label, for a custom number type, associated with the phone number, if it exists. |
static String |
CACHED_NUMBER_TYPE
The cached number type (Home, Work, etc) associated with the phone number, if it exists. |
static Uri |
CONTENT_FILTER_URI
The content:// style URL for filtering this table on phone numbers |
static String |
CONTENT_ITEM_TYPE
The MIME type of a CONTENT_URI sub-directory of a single
call. |
static String |
CONTENT_TYPE
The MIME type of CONTENT_URI and CONTENT_FILTER_URI
providing a directory of calls. |
static Uri |
CONTENT_URI
The content:// style URL for this table |
static String |
DATE
The date the call occured, in milliseconds since the epoch |
static String |
DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
DURATION
The duration of the call in seconds |
static int |
INCOMING_TYPE
|
static int |
MISSED_TYPE
|
static String |
NEW
Whether or not the call has been acknowledged |
static String |
NUMBER
The phone number as the user entered it. |
static int |
OUTGOING_TYPE
|
static String |
TYPE
The type of the the phone number. |
| Fields inherited from interface android.provider.BaseColumns |
|---|
_COUNT, _ID |
| Constructor Summary | |
|---|---|
CallLog.Calls()
|
|
| Method Summary | |
|---|---|
static Uri |
addCall(com.android.internal.telephony.CallerInfo ci,
Context context,
String number,
boolean isPrivateNumber,
int callType,
long start,
int duration)
Adds a call to the call log. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Uri CONTENT_URI
public static final Uri CONTENT_FILTER_URI
public static final String DEFAULT_SORT_ORDER
public static final String CONTENT_TYPE
CONTENT_URI and CONTENT_FILTER_URI
providing a directory of calls.
public static final String CONTENT_ITEM_TYPE
CONTENT_URI sub-directory of a single
call.
public static final String TYPE
Type: INTEGER (int)
public static final int INCOMING_TYPE
public static final int OUTGOING_TYPE
public static final int MISSED_TYPE
public static final String NUMBER
Type: TEXT
public static final String DATE
Type: INTEGER (long)
public static final String DURATION
Type: INTEGER (long)
public static final String NEW
Type: INTEGER (boolean)
public static final String CACHED_NAME
Type: TEXT
public static final String CACHED_NUMBER_TYPE
Type: INTEGER
public static final String CACHED_NUMBER_LABEL
Type: TEXT
| Constructor Detail |
|---|
public CallLog.Calls()
| Method Detail |
|---|
public static Uri addCall(com.android.internal.telephony.CallerInfo ci,
Context context,
String number,
boolean isPrivateNumber,
int callType,
long start,
int duration)
ci - the CallerInfo object to get the target contact from. Can be null
if the contact is unknown.context - the context used to get the ContentResolvernumber - the phone number to be added to the calls dbisPrivateNumber - true if the call was marked as private by the networkcallType - enumerated values for "incoming", "outgoing", or "missed"start - time stamp for the call in millisecondsduration - call duration in seconds
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||