public class CallLogUtil extends Object
| Constructor and Description |
|---|
CallLogUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsLogFromNumber(List<CallLogEntry> logs,
String number)
returns true if call log of specified number exists
|
static List<CallLogEntry> |
getAllLogsOfDuration(List<CallLogEntry> logs,
int duration,
boolean greaterthan)
duration specifies call duration to test against.
|
public static List<CallLogEntry> getAllLogsOfDuration(List<CallLogEntry> logs, int duration, boolean greaterthan)
duration - greaterthan set to true finds call durations greater than or equal to specified. false
finds those less than.greaterthan - public static boolean containsLogFromNumber(List<CallLogEntry> logs, String number)
Copyright © 2015. All rights reserved.