Class ShadowMessenger


  • @Implements(android.os.Messenger.class)
    public class ShadowMessenger
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ShadowMessenger()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowMessenger

        public ShadowMessenger()
    • Method Detail

      • getLastMessageSent

        public static android.os.Message getLastMessageSent()
        Returns the last Message sent, or null if there isn't any message sent.
      • send

        @Implementation
        protected void send​(android.os.Message message)
                     throws android.os.RemoteException
        Throws:
        android.os.RemoteException
      • reset

        @Resetter
        public static void reset()