Package io.rong.message

## Class HasReceivedNotificationMessage

- All Implemented Interfaces:

      public class HasReceivedNotificationMessage

  通知消息

  表示消息已经被收到，不会存入消息历史记录。

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public final static Creator<HasReceivedNotificationMessage>` | `CREATOR` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `HasReceivedNotificationMessage(Parcel in)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `Array<byte>` | `encode()` | 序列化需要传输的数据。
    `void` | `writeToParcel(Parcel dest, int flags)` |
    `int` | `describeContents()` |
    `boolean` | `isHasReceived()` | 获取消息已收到的状态。
    `void` | `setHasReceived(boolean hasReceived)` | 设置消息已收到的状态。

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

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

- - ### Constructor Detail

    - #### HasReceivedNotificationMessage

          HasReceivedNotificationMessage(Parcel in)

  - ### Method Detail

    - #### encode

           Array<byte> encode()

      序列化需要传输的数据。

      Returns:

        序列化被传输的数据。

    - #### writeToParcel

           void writeToParcel(Parcel dest, int flags)

    - #### describeContents

           int describeContents()

    - #### isHasReceived

           boolean isHasReceived()

      获取消息已收到的状态。

      Returns:

        消息已收到的状态

    - #### setHasReceived

           void setHasReceived(boolean hasReceived)

      设置消息已收到的状态。

      Parameters:
        `hasReceived` - 消息已收到的状态