Package io.rong.imlib
Class IRongCoreCallback.LogSendMediaMessageCallback
-
- All Implemented Interfaces:
-
io.rong.imlib.IRongCoreCallback.ISendMediaMessageCallback
,io.rong.imlib.IRongCoreCallback.ISendMessageCallback
public class IRongCoreCallback.LogSendMediaMessageCallback implements IRongCoreCallback.ISendMediaMessageCallback
-
-
Constructor Summary
Constructors Constructor Description IRongCoreCallback.LogSendMediaMessageCallback(IRongCoreCallback.ISendMediaMessageCallback 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)
消息发送失败。 void
onProgress(Message message, int progress)
void
onCanceled(Message message)
-
-
Constructor Detail
-
IRongCoreCallback.LogSendMediaMessageCallback
IRongCoreCallback.LogSendMediaMessageCallback(IRongCoreCallback.ISendMediaMessageCallback 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。
-
onProgress
void onProgress(Message message, int progress)
-
onCanceled
void onCanceled(Message message)
-
-
-
-