|
Agora Java API Reference for Android
|
Public Member Functions | |
| ErrorInfo (RtmErrorCode errorCode) | |
| ErrorInfo (RtmErrorCode errorCode, String reason) | |
| ErrorInfo (RtmErrorCode errorCode, String reason, String operation) | |
| RtmErrorCode | getErrorCode () |
| String | getErrorReason () |
| String | getOperation () |
| String | toString () |
The warning or error code and description.
| io.agora.rtm.ErrorInfo.ErrorInfo | ( | RtmErrorCode | errorCode | ) |
Constructs a new instance of RtmErrorCode with the specified errorCode.
| errorCode | The error code of ErrorInfo(which is saved for later retrieval by the getErrorCode() method) |
| io.agora.rtm.ErrorInfo.ErrorInfo | ( | RtmErrorCode | errorCode, |
| String | reason | ||
| ) |
Constructs a new instance of RtmErrorCode with the specified errorCode and specified reason detail.
| errorCode | The error code of ErrorInfo (which is saved for later retrieval by the getErrorCode() method) |
| reason | A string describing the reason for operation operation failure(which is saved for later retrieval by the getErrorReason() method) |
| io.agora.rtm.ErrorInfo.ErrorInfo | ( | RtmErrorCode | errorCode, |
| String | reason, | ||
| String | operation | ||
| ) |
Constructs a new instance of RtmErrorCode with the specified errorCode, specified reason detail and specified operation.
| errorCode | The error code of ErrorInfo (which is saved for later retrieval by the getErrorCode() method) |
| reason | A string describing the reason for operation failure(which is saved for later retrieval by the getErrorReason() method) |
| operation | Current operation(which is saved for later retrieval by the getOperation() method) |
| RtmErrorCode io.agora.rtm.ErrorInfo.getErrorCode | ( | ) |
Retrieves the warning or error code.
| String io.agora.rtm.ErrorInfo.getErrorReason | ( | ) |
Retrieves the warning or error reason.
| String io.agora.rtm.ErrorInfo.getOperation | ( | ) |
Retrieves current operation.
1.8.18