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