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()
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 -
-
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
-
-
-
-