public static enum ApnInfo.BearerType extends java.lang.Enum<ApnInfo.BearerType>
Enum Constant and Description |
---|
BEARER_TYPE_EHRPD
The id for apn bearer eHRPD type.
|
BEARER_TYPE_LTE
The id for apn bearer LTE type.
|
BEARER_TYPE_UNSPECIFIED
The id for apn bearer unspecified type.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets constant value.
|
static ApnInfo.BearerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApnInfo.BearerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApnInfo.BearerType BEARER_TYPE_LTE
public static final ApnInfo.BearerType BEARER_TYPE_EHRPD
public static final ApnInfo.BearerType BEARER_TYPE_UNSPECIFIED
public static ApnInfo.BearerType[] values()
for (ApnInfo.BearerType c : ApnInfo.BearerType.values()) System.out.println(c);
public static ApnInfo.BearerType 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()