@Implements(value=android.os.Messenger.class) public class ShadowMessenger extends java.lang.Object
Constructor and Description |
---|
ShadowMessenger() |
Modifier and Type | Method and Description |
---|---|
protected void |
__constructor__(android.os.Handler handler) |
protected void |
__constructor__(android.os.IBinder target) |
static void |
clearLastMessageSent()
Clears the last
Message sent. |
protected android.os.IBinder |
getBinder() |
static android.os.Message |
getLastMessageSent()
Returns the last
Message sent, or null if there isn’t any message sent. |
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.
public static void clearLastMessageSent()
Clears the last Message
sent.
@Implementation protected void __constructor__(android.os.Handler handler)
@Implementation protected void __constructor__(android.os.IBinder target)
@Implementation protected void send(android.os.Message message) throws android.os.RemoteException
android.os.RemoteException
@Implementation protected android.os.IBinder getBinder()