public enum NetworkSpeed extends java.lang.Enum<NetworkSpeed>
Enum Constant and Description |
---|
EDGE |
EVDO |
FULL |
GPRS |
GSM |
HSDPA |
LTE |
SCSD |
UMTS |
Modifier and Type | Method and Description |
---|---|
static NetworkSpeed |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetworkSpeed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkSpeed GSM
public static final NetworkSpeed SCSD
public static final NetworkSpeed GPRS
public static final NetworkSpeed EDGE
public static final NetworkSpeed UMTS
public static final NetworkSpeed HSDPA
public static final NetworkSpeed LTE
public static final NetworkSpeed EVDO
public static final NetworkSpeed FULL
public static NetworkSpeed[] values()
for (NetworkSpeed c : NetworkSpeed.values()) System.out.println(c);
public static NetworkSpeed 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 null