Class TypingStatus

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      TypingStatus(String userId, String typingContentType, long sentTime)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getUserId() Get user ID
      void setUserId(String userId) Set user ID
      String getTypingContentType() Retrieves the type of the message being entered, which corresponds to the value of getObjectName.
      void setTypingContentType(String typingContentType) Sets the type of the message currently being typed.
      long getSentTime() Get the message sending time
      void setSentTime(long sentTime) Set the message sending time
      • Methods inherited from class java.lang.Object

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

      • TypingStatus

        TypingStatus(String userId, String typingContentType, long sentTime)
    • Method Detail

      • getUserId

         String getUserId()

        Get user ID

        Returns:

        User ID

      • setUserId

         void setUserId(String userId)

        Set user ID

        Parameters:
        userId - User ID
      • getTypingContentType

         String getTypingContentType()

        Retrieves the type of the message being entered, which corresponds to the value of getObjectName.

        Returns:

        The type of the message being entered, which corresponds to the value of getObjectName.

      • setTypingContentType

         void setTypingContentType(String typingContentType)

        Sets the type of the message currently being typed. The value is getObjectName.

        Parameters:
        typingContentType - The type of the message currently being typed.
      • getSentTime

         long getSentTime()

        Get the message sending time

        Returns:

        The message sending time

      • setSentTime

         void setSentTime(long sentTime)

        Set the message sending time

        Parameters:
        sentTime - The message sending time