Signaling (previously RTM) SDK v1.5.0 API Reference for Android
Public Member Functions | List of all members
io.agora.rtm.ErrorInfo Class Reference

Public Member Functions

  ErrorInfo (int errorCode)
 
  ErrorInfo (int errorCode, String errorDesc)
 
int  getErrorCode ()
 
String  getErrorDescription ()
 
String  toString ()
 

Detailed Description

The warning or error code and description.

Member Function Documentation

◆ getErrorCode()

int io.agora.rtm.ErrorInfo.getErrorCode ( )

Retrieves the warning or error code.

Returns
The warning or error code. See RtmStatusCode for a list of warning or error codes.

◆ getErrorDescription()

String io.agora.rtm.ErrorInfo.getErrorDescription ( )

Retrieves the warning or error description.

Returns
The warning or error description. See RtmStatusCode for a list of warning or error codes.