hyphenate_SDK3.0 4.0.0
hyphenate java IM SDK
|
Inherits com.hyphenate.chat.EMBase< T >.
Public Member Functions | |
EMMessageStatistics (EMAMessageStatistics message) | |
String | getMsgId () |
String | getTo () |
String | getFrom () |
EMMessage.Type | getType () |
EMMessage.ChatType | getChatType () |
long | getMsgTime () |
EMMessage.Direct | direct () |
long | getMsgSize () |
long | getAttachmentSize () |
long | getThumbnailSize () |
String | toString () |
EMMessage.Direct com.hyphenate.chat.EMMessageStatistics.direct | ( | ) |
Gets the message direction:
SEND
: The message is sent from the local client.RECEIVE
: The message is received by the local client.long com.hyphenate.chat.EMMessageStatistics.getAttachmentSize | ( | ) |
Gets the amount of traffic for the message attachment.
The traffic is measured in bytes.
EMMessage.ChatType com.hyphenate.chat.EMMessageStatistics.getChatType | ( | ) |
Gets the chat type.
String com.hyphenate.chat.EMMessageStatistics.getFrom | ( | ) |
Gets the user ID of the message sender.
String com.hyphenate.chat.EMMessageStatistics.getMsgId | ( | ) |
Gets the message ID.
long com.hyphenate.chat.EMMessageStatistics.getMsgSize | ( | ) |
Gets the amount of traffic for the message body.
The traffic is measured in bytes.
long com.hyphenate.chat.EMMessageStatistics.getMsgTime | ( | ) |
Gets the Unix timestamp when the server receives the message.
The Unix timestamp is in the unit of millisecond.
long com.hyphenate.chat.EMMessageStatistics.getThumbnailSize | ( | ) |
Gets the amount of traffic for the thumbnail.
The traffic is measured in bytes.
String com.hyphenate.chat.EMMessageStatistics.getTo | ( | ) |
Gets the user ID of the message recipient.
EMMessage.Type com.hyphenate.chat.EMMessageStatistics.getType | ( | ) |
Gets the message type.