Class TypingStatusMessage

  • All Implemented Interfaces:

    
    public class TypingStatusMessage
    
                        

    Typing status message.

    Typing status message indicates that the other party is typing. This message will not be stored in the message history.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public String typingContentType
      public String data
      public final static Creator<TypingStatusMessage> CREATOR
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getTypingContentType() Retrieves the type name of the message currently being typed.
      void setTypingContentType(String typingContentType) Sets the type name of the message being typed.
      String getData() Retrieves TypingStatusMessage data
      void setData(String data) Sets the TypingStatusMessage data
      Array<byte> encode() Serializes the data to be transmitted.
      int describeContents()
      void writeToParcel(Parcel dest, int flags)
      • Methods inherited from class java.lang.Object

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

      • TypingStatusMessage

        TypingStatusMessage(String type, String data)
      • TypingStatusMessage

        TypingStatusMessage(Array<byte> data)
      • TypingStatusMessage

        TypingStatusMessage(Parcel in)
      • TypingStatusMessage

        TypingStatusMessage()
    • Method Detail

      • getTypingContentType

         String getTypingContentType()

        Retrieves the type name of the message currently being typed. The `typingContentType` represents the type name of the message the user is currently editing, which is the return value of `getObjectName` in the message object. For example, for a text message, pass the type name RC:TxtMsg.

        Returns:

        The type name of the message currently being typed. The `typingContentType` represents the type name of the message the user is currently editing, which is the return value of `getObjectName` in the message object. For example, for a text message, pass the type name RC:TxtMsg.

      • setTypingContentType

         void setTypingContentType(String typingContentType)

        Sets the type name of the message being typed. The `typingContentType` is the type name of the message currently being edited by the user, which is the return value of `getObjectName` in the message. For example, for a text message, pass the type name RC:TxtMsg.

        Parameters:
        typingContentType - The type name of the message being typed.
      • getData

         String getData()

        Retrieves TypingStatusMessage data

        Returns:

        TypingStatusMessage data

      • setData

         void setData(String data)

        Sets the TypingStatusMessage data

        Parameters:
        data - TypingStatusMessage data
      • encode

         Array<byte> encode()

        Serializes the data to be transmitted.

        Returns:

        Serialized data for transmission.