UiMessage

public class UiMessage

Constructors

Link copied to clipboard
public void UiMessage(Message message)

Properties

Link copied to clipboard
public SpannableStringBuilder contentSpannable
TextMessage 和 ReferenceMessage 的 content 字段
Link copied to clipboard
public String destructTime
Link copied to clipboard
public boolean isEdit
Link copied to clipboard
public boolean isPlaying
Link copied to clipboard
public boolean isSelected
Link copied to clipboard
public Message message
Link copied to clipboard
public String nickname
Link copied to clipboard
public int progress
Link copied to clipboard
public SpannableStringBuilder referenceContentSpannable
ReferenceMessage 的 referMsg 为 TextMessage 时 的 content 字段
Link copied to clipboard
public int state
Link copied to clipboard
public String translatedContent
翻译之后的文本
Link copied to clipboard
public int translateStatus
Link copied to clipboard
public UserInfo userInfo

Functions

Link copied to clipboard
public MessageContent getContent()
Link copied to clipboard
public SpannableStringBuilder getContentSpannable()
Link copied to clipboard
public ConversationType getConversationType()
Link copied to clipboard
public String getDestructTime()
Link copied to clipboard
public String getDisplayName()
Link copied to clipboard
public Map<String, String> getExpansion()
Link copied to clipboard
public String getExtra()
Link copied to clipboard
public Message getMessage()
Link copied to clipboard
public MessageConfig getMessageConfig()
Link copied to clipboard
public MessageDirection getMessageDirection()
Link copied to clipboard
public int getMessageId()
Link copied to clipboard
public String getNickname()
Link copied to clipboard
public String getObjectName()
Link copied to clipboard
public int getProgress()
Link copied to clipboard
public ReadReceiptInfo getReadReceiptInfo()
Link copied to clipboard
public long getReadTime()
Link copied to clipboard
public ReceivedStatus getReceivedStatus()
Link copied to clipboard
public long getReceivedTime()
Link copied to clipboard
public SpannableStringBuilder getReferenceContentSpannable()
Link copied to clipboard
public String getSenderUserId()
Link copied to clipboard
public SentStatus getSentStatus()
Link copied to clipboard
public long getSentTime()
Link copied to clipboard
public int getState()
Link copied to clipboard
public String getTargetId()
Link copied to clipboard
public String getTranslatedContent()
Link copied to clipboard
public int getTranslateStatus()
Link copied to clipboard
public String getUId()
Link copied to clipboard
public UserInfo getUserInfo()
Link copied to clipboard
public void initUserInfo()
Link copied to clipboard
public boolean isCanIncludeExpansion()
Link copied to clipboard
public boolean isEdit()
Link copied to clipboard
public boolean isPlaying()
Link copied to clipboard
public boolean isSelected()
Link copied to clipboard
public void onGroupMemberInfoUpdate(GroupUserInfo member)
Link copied to clipboard
public void onUserInfoUpdate(UserInfo user)
Link copied to clipboard
public void setCanIncludeExpansion(boolean canIncludeExpansion)
Link copied to clipboard
public void setContent(MessageContent content)
Link copied to clipboard
public void setContentSpannable(SpannableStringBuilder contentSpannable)
Link copied to clipboard
public void setConversationType(ConversationType conversationType)
Link copied to clipboard
public void setDestructTime(String destructTime)
Link copied to clipboard
public void setEdit(boolean edit)
Link copied to clipboard
public void setExpansion(HashMap<String, String> expansion)
Link copied to clipboard
public void setExtra(String extra)
Link copied to clipboard
public void setMessage(Message message)
Link copied to clipboard
public void setMessageConfig(MessageConfig messageConfig)
Link copied to clipboard
public void setMessageDirection(MessageDirection messageDirection)
Link copied to clipboard
public void setMessageId(int messageId)
Link copied to clipboard
public void setNickname(String nickname)
Link copied to clipboard
public void setObjectName(String objectName)
Link copied to clipboard
public void setPlaying(boolean playing)
Link copied to clipboard
public void setProgress(int progress)
Link copied to clipboard
public void setReadReceiptInfo(ReadReceiptInfo readReceiptInfo)
Link copied to clipboard
public void setReadTime(long readTime)
Link copied to clipboard
public void setReceivedStatus(ReceivedStatus receivedStatus)
Link copied to clipboard
public void setReceivedTime(long receivedTime)
Link copied to clipboard
public void setReferenceContentSpannable(SpannableStringBuilder referenceContentSpannable)
Link copied to clipboard
public void setSelected(boolean selected)
Link copied to clipboard
public void setSenderUserId(String senderUserId)
Link copied to clipboard
public void setSentStatus(SentStatus sentStatus)
Link copied to clipboard
public void setSentTime(long sentTime)
Link copied to clipboard
public void setState(int state)
Link copied to clipboard
public void setTargetId(String targetId)
Link copied to clipboard
public void setTranslatedContent(String translatedContent)
Link copied to clipboard
public void setTranslateStatus(int translateStatus)
Link copied to clipboard
public void setUserInfo(UserInfo userInfo)