The criteria
object specifies what log event
information is returned.
The criteria
object has two main properties: Type
and Filter
.
These are described in the following table. Properties enclosed in brackets
are optional.
Property |
Description |
Type |
Value |
---|---|---|---|
|
Specifies the type of content. |
string |
Possible values:
|
|
Specifies the criteria to search for specific events in the log database. If |
object |
Object with the properties specified below |
|
Specifies a unique identifier of an event in the log database. Note: When |
string |
|
|
Creates a view of the most recent 20 events in the specified recent call list. The recent call list derives from recent log entries (a subset of all log entries). On successful completion, the view is positioned at the first (most recent) event in the recent call list. Recent lists do not contain individual entries for duplicate events, such as two outgoing calls to the same number. Note: When |
Value - Description:
A value of |
number |
|
Specifies a unique identifier for the type of event; such as call, fax, etc. |
Value - Description:
|
number |
|
Specifies the phone number associated with the event. Note: This is used when the number cannot be stored in any other key. For
example, if there is an entry in the contacts database for a person named
Prakash, then |
Up to 100 characters. If the length of the specified string is greater than 100 characters, the number is truncated. |
string |
|
Specifies the destination of the outgoing event or the source of incoming event. |
Up to 64 characters. If the length of the specified string is greater than 64 characters, the data is truncated. |
string |
|
Specifies whether the event is incoming, outgoing, or missed and if it came in on an alternate line. Alternate line refers to the second phone call on the mobile device.
Alternate line values, such as |
Value - Description:
|
number |
|
Specifies whether the event was delivered, is pending, failed to be delivered, etc. |
Value - Description:
|
number |
|
Events added to the log after this time will not be retrieved. |
date object |
|
|
Specifies the flags for this event. This method does not change any other flag bit settings. |
Value - Description:
Note: The EKLogEventContactSearched flag is set when the user searches the contact database for any operation such as a voice call or SMS.
Note: The EKLogEventRead flag is set when the user "reads" the event in the log database. |