# UiMessage

public class UiMessage

## Constructors

UiMessage
Link copied to clipboard
public void UiMessage(Message message)

## Properties

businessState
Link copied to clipboard
public String businessState
业务状态
contentSpannable
Link copied to clipboard
public SpannableStringBuilder contentSpannable
TextMessage 和 ReferenceMessage 的 content 字段
destructTime
Link copied to clipboard
public String destructTime
isEdit
Link copied to clipboard
public boolean isEdit
isPlaying
Link copied to clipboard
public boolean isPlaying
isSelected
Link copied to clipboard
public boolean isSelected
message
Link copied to clipboard
public Message message
nickname
Link copied to clipboard
public String nickname
progress
Link copied to clipboard
public int progress
readReceiptInfoV5
Link copied to clipboard
public ReadReceiptInfoV5 readReceiptInfoV5
已读V5信息
referenceContentSpannable
Link copied to clipboard
public SpannableStringBuilder referenceContentSpannable
ReferenceMessage 的 referMsg 为 TextMessage 时 的 content 字段
state
Link copied to clipboard
public int state
translatedContent
Link copied to clipboard
public String translatedContent
翻译之后的文本
translateStatus
Link copied to clipboard
public int translateStatus
userInfo
Link copied to clipboard
public UserInfo userInfo

## Functions

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