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