public class UiMessage extends UiBaseBean
Constructor and Description |
---|
UiMessage(Message message) |
Modifier and Type | Method and Description |
---|---|
MessageContent |
getContent() |
android.text.SpannableStringBuilder |
getContentSpannable() |
Conversation.ConversationType |
getConversationType() |
java.lang.String |
getDestructTime() |
java.util.Map<java.lang.String,java.lang.String> |
getExpansion() |
java.lang.String |
getExtra() |
Message |
getMessage() |
MessageConfig |
getMessageConfig() |
Message.MessageDirection |
getMessageDirection() |
int |
getMessageId() |
java.lang.String |
getNickname() |
java.lang.String |
getObjectName() |
int |
getProgress() |
ReadReceiptInfo |
getReadReceiptInfo() |
long |
getReadTime() |
Message.ReceivedStatus |
getReceivedStatus() |
long |
getReceivedTime() |
android.text.SpannableStringBuilder |
getReferenceContentSpannable() |
java.lang.String |
getSenderUserId() |
Message.SentStatus |
getSentStatus() |
long |
getSentTime() |
int |
getState() |
java.lang.String |
getTargetId() |
java.lang.String |
getUId() |
UserInfo |
getUserInfo() |
void |
initUserInfo() |
boolean |
isCanIncludeExpansion() |
boolean |
isEdit() |
boolean |
isPlaying() |
boolean |
isSelected() |
void |
onGroupMemberInfoUpdate(GroupMember member) |
void |
onUserInfoUpdate(java.util.List<User> userList) |
void |
setCanIncludeExpansion(boolean canIncludeExpansion) |
void |
setContent(MessageContent content) |
void |
setContentSpannable(android.text.SpannableStringBuilder contentSpannable) |
void |
setConversationType(Conversation.ConversationType conversationType) |
void |
setDestructTime(java.lang.String destructTime) |
void |
setEdit(boolean edit) |
void |
setExpansion(java.util.HashMap<java.lang.String,java.lang.String> expansion) |
void |
setExtra(java.lang.String extra) |
void |
setMessage(Message message) |
void |
setMessageConfig(MessageConfig messageConfig) |
void |
setMessageDirection(Message.MessageDirection messageDirection) |
void |
setMessageId(int messageId) |
void |
setNickname(java.lang.String nickname) |
void |
setObjectName(java.lang.String objectName) |
void |
setPlaying(boolean playing) |
void |
setProgress(int progress) |
void |
setReadReceiptInfo(ReadReceiptInfo readReceiptInfo) |
void |
setReadTime(long readTime) |
void |
setReceivedStatus(Message.ReceivedStatus receivedStatus) |
void |
setReceivedTime(long receivedTime) |
void |
setReferenceContentSpannable(android.text.SpannableStringBuilder referenceContentSpannable) |
void |
setSelected(boolean selected) |
void |
setSenderUserId(java.lang.String senderUserId) |
void |
setSentStatus(Message.SentStatus sentStatus) |
void |
setSentTime(long sentTime) |
void |
setState(int state) |
void |
setTargetId(java.lang.String targetId) |
void |
setUId(java.lang.String UId) |
void |
setUserInfo(UserInfo userInfo) |
change, isChange, setChange
public void initUserInfo()
public Message getMessage()
public void setMessage(Message message)
public UserInfo getUserInfo()
public void setUserInfo(UserInfo userInfo)
public int getState()
public void setState(int state)
public int getProgress()
public void setProgress(int progress)
public java.lang.String getDestructTime()
public void setDestructTime(java.lang.String destructTime)
public boolean isPlaying()
public void setPlaying(boolean playing)
public boolean isEdit()
public void setEdit(boolean edit)
public boolean isSelected()
public void setSelected(boolean selected)
public void onUserInfoUpdate(java.util.List<User> userList)
public void onGroupMemberInfoUpdate(GroupMember member)
public int getMessageId()
public void setMessageId(int messageId)
public java.lang.String getUId()
public void setUId(java.lang.String UId)
public Conversation.ConversationType getConversationType()
public void setConversationType(Conversation.ConversationType conversationType)
public java.lang.String getTargetId()
public void setTargetId(java.lang.String targetId)
public long getReadTime()
public void setReadTime(long readTime)
public Message.MessageDirection getMessageDirection()
public void setMessageDirection(Message.MessageDirection messageDirection)
public Message.ReceivedStatus getReceivedStatus()
public void setReceivedStatus(Message.ReceivedStatus receivedStatus)
public Message.SentStatus getSentStatus()
public void setSentStatus(Message.SentStatus sentStatus)
public long getReceivedTime()
public void setReceivedTime(long receivedTime)
public long getSentTime()
public void setSentTime(long sentTime)
public java.lang.String getObjectName()
public void setObjectName(java.lang.String objectName)
public MessageContent getContent()
public void setContent(MessageContent content)
public java.lang.String getExtra()
public void setExtra(java.lang.String extra)
public java.lang.String getSenderUserId()
public void setSenderUserId(java.lang.String senderUserId)
public ReadReceiptInfo getReadReceiptInfo()
public void setReadReceiptInfo(ReadReceiptInfo readReceiptInfo)
public MessageConfig getMessageConfig()
public void setMessageConfig(MessageConfig messageConfig)
public boolean isCanIncludeExpansion()
public void setCanIncludeExpansion(boolean canIncludeExpansion)
public java.util.Map<java.lang.String,java.lang.String> getExpansion()
public void setExpansion(java.util.HashMap<java.lang.String,java.lang.String> expansion)
public android.text.SpannableStringBuilder getContentSpannable()
public void setContentSpannable(android.text.SpannableStringBuilder contentSpannable)
public android.text.SpannableStringBuilder getReferenceContentSpannable()
public void setReferenceContentSpannable(android.text.SpannableStringBuilder referenceContentSpannable)
public java.lang.String getNickname()
public void setNickname(java.lang.String nickname)