Class HistoryDividerMessage

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public String content
      public final static Creator<HistoryDividerMessage> CREATOR
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getContent() Retrieves the content.
      void setContent(String content) Set content.
      static HistoryDividerMessage obtain(String content) Creates a message instance.
      Array<byte> encode()
      void writeToParcel(Parcel dest, int flags) Writes the class's data into the provided Parcel.
      int describeContents() Describes the type of special objects included in the arrangement information of the Parcelable object.
      • Methods inherited from class java.lang.Object

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

      • HistoryDividerMessage

        HistoryDividerMessage(Array<byte> data)
      • HistoryDividerMessage

        HistoryDividerMessage(Parcel in)
    • Method Detail

      • getContent

         String getContent()

        Retrieves the content.

        Returns:

        The content.

      • setContent

         void setContent(String content)

        Set content.

        Parameters:
        content - The content to be set.
      • obtain

         static HistoryDividerMessage obtain(String content)

        Creates a message instance.

        Parameters:
        content - The content of the message.
        Returns:

        The message instance.

      • writeToParcel

         void writeToParcel(Parcel dest, int flags)

        Writes the class's data into the provided Parcel.

        Parameters:
        dest - The Parcel into which the object is written.
        flags - Additional flags about how the object should be written, which can be 0 or PARCELABLE_WRITE_RETURN_VALUE.
      • describeContents

         int describeContents()

        Describes the type of special objects included in the arrangement information of the Parcelable object.

        Returns:

        A flag indicating the arrangement of the special object type collection in the Parcelable object.