Package io.rong.imkit.model

## Class UiMessage

- All Implemented Interfaces:

      public class UiMessage

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public Message` | `message` |
    `public UserInfo` | `userInfo` |
    `public int` | `state` |
    `public int` | `progress` |
    `public String` | `destructTime` |
    `public boolean` | `isPlaying` |
    `public boolean` | `isEdit` |
    `public boolean` | `isSelected` |
    `public String` | `nickname` |
    `public SpannableStringBuilder` | `contentSpannable` |
    `public SpannableStringBuilder` | `referenceContentSpannable` |
    `public String` | `translatedContent` |
    `public int` | `translateStatus` |
    `public String` | `businessState` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `UiMessage(Message message)` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### UiMessage

          UiMessage(Message message)

  - ### Method Detail

    - #### getMessage

           Message getMessage()

    - #### setMessage

           void setMessage(Message message)

    - #### getUserInfo

           UserInfo getUserInfo()

    - #### setUserInfo

           void setUserInfo(UserInfo userInfo)

    - #### getState

           int getState()

    - #### setState

           void setState(int state)

    - #### getProgress

           int getProgress()

    - #### setProgress

           void setProgress(int progress)

    - #### getDestructTime

           String getDestructTime()

    - #### setDestructTime

           void setDestructTime(String destructTime)

    - #### isPlaying

           boolean isPlaying()

    - #### setPlaying

           void setPlaying(boolean playing)

    - #### isEdit

           boolean isEdit()

    - #### setEdit

           void setEdit(boolean edit)

    - #### isSelected

           boolean isSelected()

    - #### setSelected

           void setSelected(boolean selected)

    - #### getNickname

           String getNickname()

    - #### setNickname

           void setNickname(String nickname)

    - #### getContentSpannable

           SpannableStringBuilder getContentSpannable()

    - #### setContentSpannable

           void setContentSpannable(SpannableStringBuilder contentSpannable)

    - #### getReferenceContentSpannable

           SpannableStringBuilder getReferenceContentSpannable()

    - #### setReferenceContentSpannable

           void setReferenceContentSpannable(SpannableStringBuilder referenceContentSpannable)

    - #### getTranslatedContent

           String getTranslatedContent()

    - #### setTranslatedContent

           void setTranslatedContent(String translatedContent)

    - #### getTranslateStatus

           int getTranslateStatus()

    - #### setTranslateStatus

           void setTranslateStatus(int translateStatus)

    - #### getBusinessState

           String getBusinessState()

    - #### setBusinessState

           void setBusinessState(String businessState)

    - #### initUserInfo

           void initUserInfo()

    - #### onUserInfoUpdate

           void onUserInfoUpdate(UserInfo user)

    - #### onGroupMemberInfoUpdate

           void onGroupMemberInfoUpdate(GroupUserInfo member)

    - #### getMessageId

           int getMessageId()

    - #### setMessageId

           void setMessageId(int messageId)

    - #### getUId

           String getUId()

    - #### getConversationType

           ConversationType getConversationType()

    - #### setConversationType

           void setConversationType(ConversationType conversationType)

    - #### getTargetId

           String getTargetId()

    - #### setTargetId

           void setTargetId(String targetId)

    - #### getReadTime

           long getReadTime()

    - #### setReadTime

           void setReadTime(long readTime)

    - #### getMessageDirection

           MessageDirection getMessageDirection()

    - #### setMessageDirection

           void setMessageDirection(MessageDirection messageDirection)

    - #### getReceivedStatus

           ReceivedStatus getReceivedStatus()

    - #### setReceivedStatus

           void setReceivedStatus(ReceivedStatus receivedStatus)

    - #### getSentStatus

           SentStatus getSentStatus()

    - #### setSentStatus

           void setSentStatus(SentStatus sentStatus)

    - #### getReceivedTime

           long getReceivedTime()

    - #### setReceivedTime

           void setReceivedTime(long receivedTime)

    - #### getSentTime

           long getSentTime()

    - #### setSentTime

           void setSentTime(long sentTime)

    - #### getObjectName

           String getObjectName()

    - #### setObjectName

           void setObjectName(String objectName)

    - #### getContent

           MessageContent getContent()

    - #### setContent

           void setContent(MessageContent content)

    - #### getExtra

           String getExtra()

    - #### setExtra

           void setExtra(String extra)

    - #### getSenderUserId

           String getSenderUserId()

    - #### setSenderUserId

           void setSenderUserId(String senderUserId)

    - #### getReadReceiptInfo

           ReadReceiptInfo getReadReceiptInfo()

    - #### setReadReceiptInfo

           void setReadReceiptInfo(ReadReceiptInfo readReceiptInfo)

    - #### getMessageConfig

           MessageConfig getMessageConfig()

    - #### setMessageConfig

           void setMessageConfig(MessageConfig messageConfig)

    - #### isCanIncludeExpansion

           boolean isCanIncludeExpansion()

    - #### setCanIncludeExpansion

           void setCanIncludeExpansion(boolean canIncludeExpansion)

    - #### getExpansion

           Map<String, String> getExpansion()

    - #### setExpansion

           void setExpansion(HashMap<String, String> expansion)

    - #### getDisplayName

           String getDisplayName()