@Implements(value=android.os.Messenger.class) public class ShadowMessenger extends java.lang.Object
Constructor and Description |
---|
ShadowMessenger() |
Modifier and Type | Method and Description |
---|---|
static android.os.Message |
getLastMessageSent()
Returns the last
Message sent, or null if there isn’t any message sent. |
static void |
reset() |
protected void |
send(android.os.Message message) |
public static android.os.Message getLastMessageSent()
Returns the last Message
sent, or null
if there isn’t any message sent.
@Implementation protected void send(android.os.Message message) throws android.os.RemoteException
android.os.RemoteException
@Resetter public static void reset()