Package io.rong.message

## Class ReadReceiptMessage

- All Implemented Interfaces:

      public class ReadReceiptMessage

  已读通知消息

  已读通知消息类，此消息会进行不存储不计入未读消息数。

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `public enum` | `ReadReceiptMessage.ReadReceiptType` |

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public long` | `lastMessageSendTime` |
    `public String` | `messageUId` |
    `public ReadReceiptMessage.ReadReceiptType` | `type` |
    `public final static Creator<ReadReceiptMessage>` | `CREATOR` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ReadReceiptMessage(long sendTime)` |
    `ReadReceiptMessage(String uId)` |
    `ReadReceiptMessage(long sendTime, String uId, ReadReceiptMessage.ReadReceiptType type)` |
    `ReadReceiptMessage(Array<byte> data)` |
    `ReadReceiptMessage(Parcel in)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `long` | `getLastMessageSendTime()` | 获取最后一条消息的发送时间(毫秒)
    `void` | `setLastMessageSendTime(long lastMessageSendTime)` | 设置最后一条消息的发送时间(毫秒)
    `String` | `getMessageUId()` | 获取最后一条消息的 uid（融云全局唯一 id）
    `void` | `setMessageUId(String messageUId)` | 设置最后一条消息的 uid（融云全局唯一 id）
    `ReadReceiptMessage.ReadReceiptType` | `getType()` | 获取消息类型
    `void` | `setType(ReadReceiptMessage.ReadReceiptType type)` | 设置消息类型
    `static ReadReceiptMessage` | `obtain(long sendTime)` | 创建消息实例。
    `Array<byte>` | `encode()` |
    `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

    - #### ReadReceiptMessage

          ReadReceiptMessage(long sendTime)

    - #### ReadReceiptMessage

          ReadReceiptMessage(String uId)

    - #### ReadReceiptMessage

          ReadReceiptMessage(long sendTime, String uId, ReadReceiptMessage.ReadReceiptType type)

    - #### ReadReceiptMessage

          ReadReceiptMessage(Array<byte> data)

    - #### ReadReceiptMessage

          ReadReceiptMessage(Parcel in)

  - ### Method Detail

    - #### getLastMessageSendTime

           long getLastMessageSendTime()

      获取最后一条消息的发送时间(毫秒)

      Returns:

        最后一条消息的发送时间(毫秒)

    - #### setLastMessageSendTime

           void setLastMessageSendTime(long lastMessageSendTime)

      设置最后一条消息的发送时间(毫秒)

      Parameters:
        `lastMessageSendTime` - 最后一条消息的发送时间(毫秒)

    - #### getMessageUId

           String getMessageUId()

      获取最后一条消息的 uid（融云全局唯一 id）

      Returns:

        最后一条消息的 uid（融云全局唯一 id）

    - #### setMessageUId

           void setMessageUId(String messageUId)

      设置最后一条消息的 uid（融云全局唯一 id）

      Parameters:
        `messageUId` - 最后一条消息的 uid（融云全局唯一 id）

    - #### getType

           ReadReceiptMessage.ReadReceiptType getType()

      获取消息类型

      Returns:

        消息类型

    - #### setType

           void setType(ReadReceiptMessage.ReadReceiptType type)

      设置消息类型

      Parameters:
        `type` - 消息类型

    - #### obtain

           static ReadReceiptMessage obtain(long sendTime)

      创建消息实例。

      Parameters:
        `sendTime` - 消息的发送时间
      Returns:

        消息实例。

    - #### encode

           Array<byte> encode()

    - #### writeToParcel

           void writeToParcel(Parcel dest, int flags)

    - #### describeContents

           int describeContents()