Class CustomMediaMessageContent

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final HashMap<String, Object> fields
      public String objectName
      public final static Creator<CustomMediaMessageContent> CREATOR
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      HashMap<String, Object> getFields()
      String getObjectName()
      void setObjectName(String objectName)
      Array<byte> encode() Serializes the local message object into message data.
      void writeToParcel(Parcel dest, int flags) Writes the class data into the provided Parcel.
      int describeContents() Describes the type of special objects included in the arrangement information of Parcelable objects.
      List<String> getSearchableWord()
      CustomMessageType type()
      void setFields(Map<String, Object> fields)
      void setSearchableWords(List<String> searchableWords)
      • Methods inherited from class java.lang.Object

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

      • CustomMediaMessageContent

        CustomMediaMessageContent(Array<byte> data)
      • CustomMediaMessageContent

        CustomMediaMessageContent(Parcel in)
        Constructor.
        Parameters:
        in - The Parcel object passed during initialization.
    • Method Detail

      • getFields

         HashMap<String, Object> getFields()
      • encode

         Array<byte> encode()

        Serializes the local message object into message data.

        Returns:

        The message data.

      • writeToParcel

         void writeToParcel(Parcel dest, int flags)

        Writes the class 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, possibly 0 or PARCELABLE_WRITE_RETURN_VALUE.
      • describeContents

         int describeContents()

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

        Returns:

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

      • type

         CustomMessageType type()
      • setFields

         void setFields(Map<String, Object> fields)