Package io.rong.imlib.model

## Class MessageResult

- All Implemented Interfaces:

      public class MessageResult

  消息查询结果。

  Since:

    5.26.0

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public String` | `messageUId` |
    `public Message` | `message` |
    `public IRongCoreEnum.CoreErrorCode` | `code` |
    `public final static Creator<MessageResult>` | `CREATOR` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MessageResult(IRongCoreEnum.CoreErrorCode code, String messageUId, Message message)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getMessageUId()` | 查询的消息 UID
    `Message` | `getMessage()` | 查到的消息，如果没有查到，则为 null
    `IRongCoreEnum.CoreErrorCode` | `getCode()` | 错误码
    `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

    - #### MessageResult

          MessageResult(IRongCoreEnum.CoreErrorCode code, String messageUId, Message message)

  - ### Method Detail

    - #### getMessageUId

           String getMessageUId()

      查询的消息 UID

    - #### getMessage

           Message getMessage()

      查到的消息，如果没有查到，则为 null

    - #### getCode

           IRongCoreEnum.CoreErrorCode getCode()

      错误码

    - #### writeToParcel

           void writeToParcel(Parcel dest, int flags)

    - #### describeContents

           int describeContents()