public static enum Constants.AreaCode extends java.lang.Enum<Constants.AreaCode>
| Enum Constant and Description |
|---|
AREA_CODE_AS
0x00000008: Asia, excluding Mainland China.
|
AREA_CODE_CN
0x00000001: Mainland China.
|
AREA_CODE_EU
0x00000004: Europe.
|
AREA_CODE_GLOB
0xFFFFFFFF: (Default) Global.
|
AREA_CODE_IN
0x00000020: India.
|
AREA_CODE_JP
0x00000010: Japan.
|
AREA_CODE_NA
0x00000002: North America.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.AreaCode |
fromInt(int value) |
int |
getValue() |
static Constants.AreaCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.AreaCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.AreaCode AREA_CODE_CN
public static final Constants.AreaCode AREA_CODE_NA
public static final Constants.AreaCode AREA_CODE_EU
public static final Constants.AreaCode AREA_CODE_AS
public static final Constants.AreaCode AREA_CODE_JP
public static final Constants.AreaCode AREA_CODE_IN
public static final Constants.AreaCode AREA_CODE_GLOB
public static Constants.AreaCode[] values()
for (Constants.AreaCode c : Constants.AreaCode.values()) System.out.println(c);
public static Constants.AreaCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static Constants.AreaCode fromInt(int value)