Package io.rong.imlib
Interface IRongCoreCallback.IGetMessagesByUIDsCallback
-
- All Implemented Interfaces:
public interface IRongCoreCallback.IGetMessagesByUIDsCallback
- Since:
5.2.5.2 通过 Uid 查询消息回调
-
-
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)
-
-
Method Detail
-
onSuccess
abstract void onSuccess(List<Message> messageList, List<String> mismatchList)
- Parameters:
messageList
- 查询到的消息 ListmismatchList
- 未查询到的消息 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)
-
-
-
-