public static enum ApnInfo.AuthType extends java.lang.Enum<ApnInfo.AuthType>
Enum Constant and Description |
---|
CHAP
The id for apn authentication chap type.
|
NONE
The id for apn none authentication type.
|
NOT_SET
The id for apn authentication not set type.
|
PAP
The id for apn authentication pap type.
|
PAP_OR_CHAP
The id for apn authentication pap or chap type.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets constant value.
|
static ApnInfo.AuthType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApnInfo.AuthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApnInfo.AuthType NOT_SET
public static final ApnInfo.AuthType NONE
public static final ApnInfo.AuthType PAP
public static final ApnInfo.AuthType CHAP
public static final ApnInfo.AuthType PAP_OR_CHAP
public static ApnInfo.AuthType[] values()
for (ApnInfo.AuthType c : ApnInfo.AuthType.values()) System.out.println(c);
public static ApnInfo.AuthType 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()