Class MessageHolder

  • All Implemented Interfaces:

    
    public final class MessageHolder
    
                        

    Temporary holder for passing nexconn Message and MessageContent objects between Activities, since these types are not android.os.Parcelable.

    Usage: call holdMessage before starting the Activity, then call takeMessage in the target Activity's onCreate.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static void holdMessage(@Nullable() Message message)
      static Message takeMessage()
      static void holdContent(@Nullable() MessageContent content)
      static MessageContent takeContent()
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • holdMessage

         static void holdMessage(@Nullable() Message message)
      • holdContent

         static void holdContent(@Nullable() MessageContent content)
      • takeContent

        @Nullable() static MessageContent takeContent()