Package io.rong.imlib

## Interface IRongCoreCallback.IGetMessagesByUIDsCallback

- All Implemented Interfaces:

      public interface IRongCoreCallback.IGetMessagesByUIDsCallback

  Since:

    5.2.5.2 通过 Uid 查询消息回调

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | `onSuccess(List<Message> messageList, List<String> mismatchList)` |
    `abstract void` | `onError(IRongCoreEnum.CoreErrorCode errorCode)` | 失败回调
    `void` | `callback(List<Message> messageList, List<String> mismatchList)` |
    `void` | `onFail(IRongCoreEnum.CoreErrorCode errorCode)` |

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### onSuccess

           abstract void onSuccess(List<Message> messageList, List<String> mismatchList)

      Parameters:
        `messageList` - 查询到的消息 List
        `mismatchList` - 未查询到的消息 Uid 可能原因： 1.

    - #### onError

           abstract void onError(IRongCoreEnum.CoreErrorCode errorCode)

      失败回调

      Parameters:
        `errorCode` - 错误码

    - #### callback

           void callback(List<Message> messageList, List<String> mismatchList)

    - #### onFail

           void onFail(IRongCoreEnum.CoreErrorCode errorCode)