Package org.robolectric.shadows
Class ShadowMessenger
- java.lang.Object
-
- org.robolectric.shadows.ShadowMessenger
-
@Implements(android.os.Messenger.class) public class ShadowMessenger extends Object
-
-
Constructor Summary
Constructors Constructor Description ShadowMessenger()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessagegetLastMessageSent()Returns the lastMessagesent, ornullif there isn't any message sent.static voidreset()protected voidsend(Message message)
-
-
-
Method Detail
-
getLastMessageSent
public static Message getLastMessageSent()
Returns the lastMessagesent, ornullif there isn't any message sent.
-
send
@Implementation protected void send(Message message) throws RemoteException
- Throws:
RemoteException
-
reset
@Resetter public static void reset()
-
-