Public Member Functions | |
| void | onSuccess (T value) |
| void | onError (final int error, final String errorMsg) |
| default void | onProgress (int progress, String status) |
The callback function with a parameter. For the callback function without a parameter, see CallBack.
| <T> | value The parameter type. |
| void io.agora.ValueCallBack< T >.onError | ( | final int | error, |
| final String | errorMsg ) |
Occurs when the request fails.
| error | The error code. See Error. |
| errorMsg | A description of the issue that caused this call to fail. |
| default void io.agora.ValueCallBack< T >.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.ValueCallBack< T >.onSuccess | ( | T | value | ) |
Occurs when the callback function executes successfully with a value returned.
| value | The class type of value is T. |