|
Signaling (previously RTM) SDK v1.5.0 API Reference for Linux (Java)
|
Public Member Functions |
|
| void | onSuccess (T responseInfo) |
| void | onFailure (ErrorInfo errorInfo) |
The ResultCallback interface contains callbacks indicating the results of a method call:
onSuccess
callback occurs.
onFailure
callback occurs with the corresponding error code. See
ErrorInfo.
Note: The T parameter is a generic type. If T is set as void, the
onSuccess
callback carries a null object.
| void io.agora.rtm.ResultCallback< T >.onSuccess | ( | T | responseInfo | ) |
Occurs when a method call succeeds.
| responseInfo | The response information. Can be set as void. |
| void io.agora.rtm.ResultCallback< T >.onFailure | ( | ErrorInfo | errorInfo | ) |
Occurs when a method call fails.
| errorInfo |
The error code. See
ErrorInfo.
|