Package io.rong.imlib.typingmessage
Class TypingStatus
-
- All Implemented Interfaces:
public class TypingStatus
-
-
Field Summary
Fields Modifier and Type Field Description public String
userId
public String
typingContentType
public long
sentTime
-
Constructor Summary
Constructors Constructor Description TypingStatus(String userId, String typingContentType, long sentTime)
-
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)
设置消息发送时间 -
-
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
- 消息发送时间
-
-
-
-