java.lang.Object | |
↳ | android.provider.CallLog.Calls |
Contains the recent calls.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | CACHED_NAME | The cached name associated with the phone number, if it exists. | |||||||||
String | CACHED_NUMBER_LABEL | The cached number label, for a custom number type, associated with the phone number, if it exists. | |||||||||
String | CACHED_NUMBER_TYPE | The cached number type (Home, Work, etc) associated with the phone number, if it exists. | |||||||||
String | CONTENT_ITEM_TYPE | The MIME type of a CONTENT_URI sub-directory of a single
call. |
|||||||||
String | CONTENT_TYPE | The MIME type of CONTENT_URI and CONTENT_FILTER_URI
providing a directory of calls. |
|||||||||
String | DATE | The date the call occured, in milliseconds since the epoch
Type: INTEGER (long) |
|||||||||
String | DEFAULT_SORT_ORDER | The default sort order for this table | |||||||||
String | DURATION | The duration of the call in seconds
Type: INTEGER (long) |
|||||||||
int | INCOMING_TYPE | Call log type for incoming calls. | |||||||||
String | IS_READ | Whether this item has been read or otherwise consumed by the user. | |||||||||
String | LIMIT_PARAM_KEY | Query parameter used to limit the number of call logs returned. | |||||||||
int | MISSED_TYPE | Call log type for missed calls. | |||||||||
String | NEW | Whether or not the call has been acknowledged
Type: INTEGER (boolean) |
|||||||||
String | NUMBER | The phone number as the user entered it. | |||||||||
String | NUMBER_PRESENTATION | The number presenting rules set by the network. | |||||||||
String | OFFSET_PARAM_KEY | Query parameter used to specify the starting record to return. | |||||||||
int | OUTGOING_TYPE | Call log type for outgoing calls. | |||||||||
int | PRESENTATION_ALLOWED | Number is allowed to display for caller id. | |||||||||
int | PRESENTATION_PAYPHONE | Number is a pay phone. | |||||||||
int | PRESENTATION_RESTRICTED | Number is blocked by user. | |||||||||
int | PRESENTATION_UNKNOWN | Number is not specified or unknown by network. | |||||||||
String | TYPE | The type of the call (incoming, outgoing or missed). |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.provider.BaseColumns
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CONTENT_FILTER_URI | The content:// style URL for filtering this table on phone numbers | ||||||||||
CONTENT_URI | The content:// style URL for this table |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Query the call log database for the last dialed number.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The cached name associated with the phone number, if it exists. This value is not guaranteed to be current, if the contact information associated with this number has changed.
Type: TEXT
The cached number label, for a custom number type, associated with the phone number, if it exists. This value is not guaranteed to be current, if the contact information associated with this number has changed.
Type: TEXT
The cached number type (Home, Work, etc) associated with the phone number, if it exists. This value is not guaranteed to be current, if the contact information associated with this number has changed.
Type: INTEGER
The MIME type of a CONTENT_URI
sub-directory of a single
call.
The MIME type of CONTENT_URI
and CONTENT_FILTER_URI
providing a directory of calls.
The date the call occured, in milliseconds since the epoch
Type: INTEGER (long)
The default sort order for this table
The duration of the call in seconds
Type: INTEGER (long)
Call log type for incoming calls.
Whether this item has been read or otherwise consumed by the user.
Unlike the NEW
field, which requires the user to have acknowledged the
existence of the entry, this implies the user has interacted with the entry.
Type: INTEGER (boolean)
Query parameter used to limit the number of call logs returned.
TYPE: integer
Call log type for missed calls.
Whether or not the call has been acknowledged
Type: INTEGER (boolean)
The phone number as the user entered it.
Type: TEXT
The number presenting rules set by the network.
Allowed values:
Type: INTEGER
Query parameter used to specify the starting record to return.
TYPE: integer
Call log type for outgoing calls.
Number is allowed to display for caller id.
Number is a pay phone.
Number is blocked by user.
Number is not specified or unknown by network.
The type of the call (incoming, outgoing or missed).
Type: INTEGER (int)
The content:// style URL for filtering this table on phone numbers
Query the call log database for the last dialed number.
context | Used to get the content resolver. |
---|