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() 获取用户 id
      void setUserId(String userId) 设置用户 id
      String getTypingContentType() 获取正在输入的消息类型,取值为 getObjectName。
      void setTypingContentType(String typingContentType) 设置正在输入的消息类型,取值为 getObjectName。
      long getSentTime() 获取消息发送时间
      void setSentTime(long sentTime) 设置消息发送时间
      • 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()

        获取用户 id

        Returns:

        用户 id

      • setUserId

         void setUserId(String userId)

        设置用户 id

        Parameters:
        userId - 用户 id
      • getTypingContentType

         String getTypingContentType()

        获取正在输入的消息类型,取值为 getObjectName。

        Returns:

        正在输入的消息类型,取值为 getObjectName。

      • setTypingContentType

         void setTypingContentType(String typingContentType)

        设置正在输入的消息类型,取值为 getObjectName。

        Parameters:
        typingContentType - 正在输入的消息类型,取值为 getObjectName。
      • getSentTime

         long getSentTime()

        获取消息发送时间

        Returns:

        消息发送时间

      • setSentTime

         void setSentTime(long sentTime)

        设置消息发送时间

        Parameters:
        sentTime - 消息发送时间