Package io.rong.imlib.typingmessage
Class TypingStatus
-
- All Implemented Interfaces:
public class TypingStatus
-
-
Field Summary
Fields Modifier and Type Field Description public StringuserIdpublic StringtypingContentTypepublic longsentTime
-
Constructor Summary
Constructors Constructor Description TypingStatus(String userId, String typingContentType, long sentTime)
-
Method Summary
Modifier and Type Method Description StringgetUserId()获取用户 id voidsetUserId(String userId)设置用户 id StringgetTypingContentType()获取正在输入的消息类型,取值为 getObjectName。 voidsetTypingContentType(String typingContentType)设置正在输入的消息类型,取值为 getObjectName。 longgetSentTime()获取消息发送时间 voidsetSentTime(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- 消息发送时间
-
-
-
-