Agora Java API Reference for Android

Static Public Attributes | List of all members
io.agora.rtc2.RtcEngineConfig.AreaCode Class Reference

The region for connection, which is the region where the server the SDK connects to is located. More...

## Static Public Attributes
static final int | AREA_CODE_NONE = 0
static final int | AREA_CODE_CN = 0x00000001
static final int | AREA_CODE_NA = 0x00000002
static final int | AREA_CODE_EU = 0x00000004
static final int | AREA_CODE_AS = 0x00000008
static final int | AREA_CODE_JP = 0x00000010
static final int | AREA_CODE_IN = 0x00000020
static final int | AREA_CODE_RU = 0x00001000
static final int | AREA_CODE_GLOB = 0xFFFFFFFF

## Detailed Description

The region for connection, which is the region where the server the SDK connects to is located.

## Member Data Documentation

## ◆ AREA_CODE_CN

final int io.agora.rtc2.RtcEngineConfig.AreaCode.AREA_CODE_CN = 0x00000001
| static

Mainland China.

## ◆ AREA_CODE_NA

final int io.agora.rtc2.RtcEngineConfig.AreaCode.AREA_CODE_NA = 0x00000002
| static

North America.

## ◆ AREA_CODE_EU

final int io.agora.rtc2.RtcEngineConfig.AreaCode.AREA_CODE_EU = 0x00000004
| static

Europe.

## ◆ AREA_CODE_AS

final int io.agora.rtc2.RtcEngineConfig.AreaCode.AREA_CODE_AS = 0x00000008
| static

Asia, excluding Mainland China.

## ◆ AREA_CODE_JP

final int io.agora.rtc2.RtcEngineConfig.AreaCode.AREA_CODE_JP = 0x00000010
| static

Japan.

## ◆ AREA_CODE_IN

final int io.agora.rtc2.RtcEngineConfig.AreaCode.AREA_CODE_IN = 0x00000020
| static

India.

## ◆ AREA_CODE_RU

final int io.agora.rtc2.RtcEngineConfig.AreaCode.AREA_CODE_RU = 0x00001000
| static

Russia

## ◆ AREA_CODE_GLOB

final int io.agora.rtc2.RtcEngineConfig.AreaCode.AREA_CODE_GLOB = 0xFFFFFFFF
| static

Global.