Package io.rong.imlib
Interface IRongCallback.ISendMessageCallback
-
- All Implemented Interfaces:
public interface IRongCallback.ISendMessageCallback
-
-
Method Summary
Modifier and Type Method Description abstract void
onAttached(Message message)
The message has been stored in the database. abstract void
onSuccess(Message message)
Message sent successfully. abstract void
onError(Message message, RongIMClient.ErrorCode errorCode)
Message sending failed. -
-
Method Detail
-
onAttached
abstract void onAttached(Message message)
The message has been stored in the database.
- Parameters:
message
- The message body that has been stored.
-
onSuccess
abstract void onSuccess(Message message)
Message sent successfully.
- Parameters:
message
- The message body after successful sending.
-
onError
abstract void onError(Message message, RongIMClient.ErrorCode errorCode)
Message sending failed.
- Parameters:
message
- The message body that failed to send.errorCode
- The specific error code indicating the failure.
-
-
-
-