Chat SDK for Android v1.2.1
agora java chat SDK
|
Inherited by io.agora.chat.ChatMessage.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 ValueCallBack.
void io.agora.CallBack.onError | ( | int | code, |
String | error | ||
) |
Occurs when an error occurs, see Error.
code | The error code. |
error | A description of the cause to the error. |
default void io.agora.CallBack.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 io.agora.CallBack.onSuccess | ( | ) |
Occurs when the method succeeds.