|
Agora Java API Reference for Android
|
RTE-related status codes and error codes. More...
Static Public Member Functions | |
| static int | getValue (ErrorCode type) |
| static ErrorCode | fromInt (int v) |
Public Attributes | |
| OK =(0) | |
| DEFAULT =(1) | |
| INVALID_ARGUMENT =(2) | |
| INVALID_OPERATION =(3) | |
| NETWORK_ERROR =(4) | |
| AUTHENTICATION_FAILED =(5) | |
| STREAM_NOT_FOUND =(6) | |
RTE-related status codes and error codes.
| io.agora.rte.Constants.ErrorCode.OK =(0) |
0: Operation succeeds.
| io.agora.rte.Constants.ErrorCode.DEFAULT =(1) |
1: General error (the cause of the error is not clearly categorized).
| io.agora.rte.Constants.ErrorCode.INVALID_ARGUMENT =(2) |
2: An invalid parameter is set in the method. For example, the parameter contains illegal characters, or the passed-in object is null. Please reset the parameter.
| io.agora.rte.Constants.ErrorCode.INVALID_OPERATION =(3) |
3: The current state does not support this operation, for example, the object has been destroyed or is invalid.
| io.agora.rte.Constants.ErrorCode.NETWORK_ERROR =(4) |
4: Network error. Please check your network.
| io.agora.rte.Constants.ErrorCode.AUTHENTICATION_FAILED =(5) |
5: Token authentication failed. Possible reasons include an invalid Token or an expired Token. Please check your Token.
| io.agora.rte.Constants.ErrorCode.STREAM_NOT_FOUND =(6) |
6: Media stream not found. For example, after joining the channel, no media stream is received from the host for more than 10 seconds.
1.8.18