hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
|
Inherited by com.hyphenate.chat.EMMessage.EMCallbackHolder.
Public Member Functions | |
void | onSuccess () |
void | onError (int code, String error) |
default void | onProgress (int progress, String status) |
The general callback interface.
For callbacks with a return value, see EMValueCallBack.
void com.hyphenate.EMCallBack.onError | ( | int | code, |
String | error | ||
) |
Occurs when an error occurs, see EMError.
code | The error code. |
error | A description of the cause to the error. |
default void com.hyphenate.EMCallBack.onProgress | ( | int | progress, |
String | status | ||
) |
Occurs when the progress updates.
progress | The progress information. |
status | A description of the progress. Might be an empty string "" or null if the SDK does not return the information. |
void com.hyphenate.EMCallBack.onSuccess | ( | ) |
Occurs when the method succeeds.