Package io.rong.imlib.model

## Class MessageReactionEventData

- All Implemented Interfaces:

      public class MessageReactionEventData

  消息回应变更事件数据。

  Since:

    5.42.0

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public ConversationIdentifier` | `conversationIdentifier` |
    `public String` | `messageUId` |
    `public String` | `reactionId` |
    `public MessageReactionOperationType` | `operationType` |
    `public List<MessageReactionUser>` | `users` |
    `public int` | `totalCount` |
    `public final static Creator<MessageReactionEventData>` | `CREATOR` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MessageReactionEventData()` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `ConversationIdentifier` | `getConversationIdentifier()` |
    `void` | `setConversationIdentifier(ConversationIdentifier conversationIdentifier)` |
    `String` | `getMessageUId()` |
    `void` | `setMessageUId(String messageUId)` |
    `String` | `getReactionId()` |
    `void` | `setReactionId(String reactionId)` | 设置回应 ID。 当 getOperationType 为 CLEARED 且清空整条消息的全部回应时，该值可能为空。
    `MessageReactionOperationType` | `getOperationType()` |
    `void` | `setOperationType(MessageReactionOperationType operationType)` |
    `List<MessageReactionUser>` | `getUsers()` |
    `void` | `setUsers(List<MessageReactionUser> users)` |
    `int` | `getTotalCount()` |
    `void` | `setTotalCount(int totalCount)` |
    `void` | `writeToParcel(Parcel dest, int flags)` |
    `int` | `describeContents()` |

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

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

- - ### Constructor Detail

    - #### MessageReactionEventData

          MessageReactionEventData()

  - ### Method Detail

    - #### getConversationIdentifier

           ConversationIdentifier getConversationIdentifier()

    - #### setConversationIdentifier

           void setConversationIdentifier(ConversationIdentifier conversationIdentifier)

    - #### getMessageUId

           String getMessageUId()

    - #### setMessageUId

           void setMessageUId(String messageUId)

    - #### getReactionId

           String getReactionId()

    - #### setReactionId

           void setReactionId(String reactionId)

      设置回应 ID。

      当 getOperationType 为 CLEARED 且清空整条消息的全部回应时，该值可能为空。

    - #### getOperationType

           MessageReactionOperationType getOperationType()

    - #### setOperationType

           void setOperationType(MessageReactionOperationType operationType)

    - #### getUsers

           List<MessageReactionUser> getUsers()

    - #### setUsers

           void setUsers(List<MessageReactionUser> users)

    - #### getTotalCount

           int getTotalCount()

    - #### setTotalCount

           void setTotalCount(int totalCount)

    - #### writeToParcel

           void writeToParcel(Parcel dest, int flags)

    - #### describeContents

           int describeContents()