agora_chat_SDK 1.0.6
agora java chat SDK
|
Public Member Functions | |
void | onSuccess (T value) |
void | onError (final int error, final String errorMsg) |
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. |
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. |