Agora Java API Reference for Android

Static Public Member Functions | Public Attributes | List of all members
io.agora.rte.Constants.ErrorCode Enum Reference

## 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)

## Detailed Description

Error codes.

Since
  v4.4.0

## Member Data Documentation

## ◆ OK

io.agora.rte.Constants.ErrorCode.OK =(0)

0: Success.

## ◆ DEFAULT

io.agora.rte.Constants.ErrorCode.DEFAULT =(1)

1: Default, not specifically categorized.

## ◆ INVALID_ARGUMENT

io.agora.rte.Constants.ErrorCode.INVALID_ARGUMENT =(2)

2: Invalid argument passed to API call.

## ◆ INVALID_OPERATION

io.agora.rte.Constants.ErrorCode.INVALID_OPERATION =(3)

3: Unsupported API operation.

## ◆ NETWORK_ERROR

io.agora.rte.Constants.ErrorCode.NETWORK_ERROR =(4)

4: Network error.

## ◆ AUTHENTICATION_FAILED

io.agora.rte.Constants.ErrorCode.AUTHENTICATION_FAILED =(5)

5: Authentication failed.

## ◆ STREAM_NOT_FOUND

io.agora.rte.Constants.ErrorCode.STREAM_NOT_FOUND =(6)

6: Stream not found.