The general callback interface.
For callbacks with a return value, see ValueCallBack
.
◆ onError()
void io.agora.CallBack.onError |
( |
int | code, |
|
|
String | error ) |
Occurs when an error occurs, see Error
.
- Parameters
-
code | The error code. |
error | A description of the cause to the error. |
◆ onProgress()
default void io.agora.CallBack.onProgress |
( |
int | progress, |
|
|
String | status ) |
Occurs when the progress updates.
- Parameters
-
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. |
◆ onSuccess()
void io.agora.CallBack.onSuccess |
( |
| ) |
|
Occurs when the method succeeds.
The documentation for this interface was generated from the following file: