public class ReadReceiptMessage extends MessageContent
限定符和类型 | 类和说明 |
---|---|
static class |
ReadReceiptMessage.ReadReceiptType |
限定符和类型 | 字段和说明 |
---|---|
static <any> |
CREATOR
读取接口,目的是要从Parcel中构造一个实现了Parcelable的类的实例处理。
|
构造器和说明 |
---|
ReadReceiptMessage(long sendTime) |
ReadReceiptMessage(long sendTime,
java.lang.String uId,
ReadReceiptMessage.ReadReceiptType type) |
ReadReceiptMessage(Parcel in) |
ReadReceiptMessage(java.lang.String uId) |
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
byte[] |
encode()
将本地消息对象序列化为消息数据。
|
long |
getLastMessageSendTime() |
java.lang.String |
getMessageUId() |
ReadReceiptMessage.ReadReceiptType |
getType() |
static ReadReceiptMessage |
obtain(long sendTime)
创建消息实例。
|
void |
setLastMessageSendTime(long lastMessageSendTime) |
void |
setMessageUId(java.lang.String messageUId) |
void |
setType(ReadReceiptMessage.ReadReceiptType type) |
void |
writeToParcel(Parcel dest,
int flags) |
getDestructTime, getJSONDestructInfo, getJsonMentionInfo, getJSONUserInfo, getMentionedInfo, getSearchableWord, getUserInfo, isDestruct, parseJsonToDestructInfo, parseJsonToMentionInfo, parseJsonToUserInfo, setDestruct, setDestructTime, setMentionedInfo, setUserInfo
public ReadReceiptMessage(long sendTime)
public ReadReceiptMessage(java.lang.String uId)
public ReadReceiptMessage(long sendTime, java.lang.String uId, ReadReceiptMessage.ReadReceiptType type)
public ReadReceiptMessage(Parcel in)
public long getLastMessageSendTime()
public void setLastMessageSendTime(long lastMessageSendTime)
public java.lang.String getMessageUId()
public void setMessageUId(java.lang.String messageUId)
public ReadReceiptMessage.ReadReceiptType getType()
public void setType(ReadReceiptMessage.ReadReceiptType type)
public byte[] encode()
MessageContent
encode
在类中 MessageContent
public static ReadReceiptMessage obtain(long sendTime)
sendTime
- 消息的发送时间public int describeContents()
public void writeToParcel(Parcel dest, int flags)
Copyright © 2020 RongCloud. All Rights Reserved.