@Implements(android.provider.CallLog.Calls.class) public class ShadowCallLogCalls extends Object
| Constructor | Description |
|---|---|
ShadowCallLogCalls() |
| Modifier and Type | Method | Description |
|---|---|---|
protected static String |
getLastOutgoingCall(Context context) |
Gets the last outgoing call String set by
setLastOutgoingCall(String). |
static void |
reset() |
|
static void |
setLastOutgoingCall(String lastCall) |
Sets a last outgoing call that can later be retrieved by
getLastOutgoingCall(Context). |
@Implementation protected static String getLastOutgoingCall(Context context)
setLastOutgoingCall(String).context - A Context object not usedsetLastOutgoingCall(String)public static void setLastOutgoingCall(String lastCall)
getLastOutgoingCall(Context).lastCall - The last outgoing call String.@Resetter public static void reset()