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 Message
getLastMessageSent()
Returns the lastMessage
sent, ornull
if there isn't any message sent.static void
reset()
protected void
send(Message message)
-
-
-
Method Detail
-
getLastMessageSent
public static Message getLastMessageSent()
Returns the lastMessage
sent, ornull
if there isn't any message sent.
-
send
@Implementation protected void send(Message message) throws RemoteException
- Throws:
RemoteException
-
reset
@Resetter public static void reset()
-
-