hyphenate_SDK4.0 5.0.0
hyphenate java IM SDK
 
Loading...
Searching...
No Matches
com.hyphenate.chat.EMOptions.AreaCode Enum Reference

Public Member Functions

int getValue ()
 

Detailed Description

Area code enum. Used to restrict the scope of accessible edge nodes. The integer value associated with each constant originates from the C++ engine EMChatConfigs::AreaCode (AREA_CN=1<<0, AREA_NA=1<<1, AREA_EU=1<<2, AREA_AS=1<<3, AREA_JP=1<<4, AREA_IN=1<<5, AREA_GLOB=-1) to stay aligned with the native layer.

Member Function Documentation

◆ getValue()

int com.hyphenate.chat.EMOptions.AreaCode.getValue ( )

Gets the integer value associated with this area code. The value matches the corresponding entry in the C++ EMChatConfigs::AreaCode.

Returns
The integer value of the area code.

The documentation for this enum was generated from the following file: