public interface RecentSession
extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_EXT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExt()
Get the extended field
|
java.lang.String |
getLastMsg()
Get the recent message
|
int |
getLastMsgType()
Get the type of the last message.
|
RevokeMsgNotification |
getRevokeNotification()
If the last message is the notification for message recall.
|
java.lang.String |
getSessionId()
Get the session ID.
|
long |
getUpdateTime()
Get the timestamp of the recent message
|
<any> |
parseSessionId()
Parse sessions for session IDs and types
|
RecentContact |
toRecentContact()
Create RecentContact with RecentSession info
|
static final java.lang.String KEY_EXT
java.lang.String getSessionId()
long getUpdateTime()
java.lang.String getExt()
java.lang.String getLastMsg()
IMMessage
by calling createFromJson in MessageBuilder
.RevokeMsgNotification getRevokeNotification()
RecentContact toRecentContact()
<any> parseSessionId()
int getLastMsgType()