Package io.rong.imlib
Class IRongCoreCallback.LogSendMessageCallback
-
- All Implemented Interfaces:
-
io.rong.imlib.IRongCoreCallback.ISendMessageCallback
public class IRongCoreCallback.LogSendMessageCallback implements IRongCoreCallback.ISendMessageCallback
-
-
Constructor Summary
Constructors Constructor Description IRongCoreCallback.LogSendMessageCallback(IRongCoreCallback.ISendMessageCallback callback, LogTag tag, long session)
-
Method Summary
Modifier and Type Method Description void
onAttached(Message message)
消息已存储数据库。 void
onSuccess(Message message)
消息发送成功。 void
onError(Message message, IRongCoreEnum.CoreErrorCode coreErrorCode)
消息发送失败。 -
-
Constructor Detail
-
IRongCoreCallback.LogSendMessageCallback
IRongCoreCallback.LogSendMessageCallback(IRongCoreCallback.ISendMessageCallback callback, LogTag tag, long session)
-
-
Method Detail
-
onAttached
void onAttached(Message message)
消息已存储数据库。
- Parameters:
message
- 已存库的消息体。
-
onSuccess
void onSuccess(Message message)
消息发送成功。
- Parameters:
message
- 发送成功后的消息体。
-
onError
void onError(Message message, IRongCoreEnum.CoreErrorCode coreErrorCode)
消息发送失败。
- Parameters:
message
- 发送失败的消息体。coreErrorCode
- 具体的失败 error code。
-
-
-
-