Agora Java API Reference for Android

Public Member Functions | Protected Member Functions | List of all members
io.agora.rte.Error Class Reference

## Public Member Functions
| Error (long nativeHandle)
long | getNativeHandle ()
Constants.ErrorCode | code ()
String | message ()

## Protected Member Functions
void | finalize ()

## Detailed Description

Error class. Used to record the execution result of an interface call.

Since
  v4.4.0

## Member Function Documentation

## ◆ code()

Constants.ErrorCode io.agora.rte.Error.code | ( |  | ) |

This interface is used to get the specific error code.

Since
  v4.4.0

Returns
  Constants.ErrorCode Error code, Refer to the ErrorCode type for details.

## ◆ message()

String io.agora.rte.Error.message | ( |  | ) |

This interface is used to get the specific error description.

Since
  v4.4.0

Returns
  const char* Error description