Package io.rong.imlib
Class RongIMClient.SendImageMessageCallback
-
- All Implemented Interfaces:
public abstract class RongIMClient.SendImageMessageCallback extends RongIMClient.SendMessageCallback
Callback for sending an image message.
-
-
Constructor Summary
Constructors Constructor Description RongIMClient.SendImageMessageCallback()
-
Method Summary
Modifier and Type Method Description abstract void
onAttached(Message message)
The message has been saved to the database. abstract void
onError(Message message, RongIMClient.ErrorCode code)
Message sending failed. abstract void
onSuccess(Message message)
Message sent successfully. abstract void
onProgress(Message message, int progress)
Message sending progress. void
onSuccess(Integer integer)
Callback triggered on success. void
onError(Integer messageId, RongIMClient.ErrorCode e)
-
Methods inherited from class io.rong.imlib.RongIMClient.SendMessageCallback
onError, onFail, onFail, onFail, onFail
-
Methods inherited from class io.rong.imlib.RongIMClient.ResultCallback
onCallback, onFail, onFail
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onAttached
abstract void onAttached(Message message)
The message has been saved to the database.
- Parameters:
message
- The saved message object.
-
onError
abstract void onError(Message message, RongIMClient.ErrorCode code)
Message sending failed.
- Parameters:
message
- The message entity that failed to send.code
- The error code indicating the failure.
-
onSuccess
abstract void onSuccess(Message message)
Message sent successfully.
- Parameters:
message
- The message object that was successfully sent.
-
onProgress
abstract void onProgress(Message message, int progress)
Message sending progress.
- Parameters:
message
- The message entity being sent.progress
- The sending progress of the message, ranging from 0 to 100.
-
onSuccess
void onSuccess(Integer integer)
Callback triggered on success.
-
onError
void onError(Integer messageId, RongIMClient.ErrorCode e)
-
-
-
-