public enum GsmSignalStrength extends java.lang.Enum<GsmSignalStrength>
Enum Constant and Description |
---|
GOOD |
GREAT |
MODERATE |
NONE_OR_UNKNOWN |
POOR |
Modifier and Type | Method and Description |
---|---|
static GsmSignalStrength |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GsmSignalStrength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GsmSignalStrength NONE_OR_UNKNOWN
public static final GsmSignalStrength POOR
public static final GsmSignalStrength MODERATE
public static final GsmSignalStrength GOOD
public static final GsmSignalStrength GREAT
public static GsmSignalStrength[] values()
for (GsmSignalStrength c : GsmSignalStrength.values()) System.out.println(c);
public static GsmSignalStrength 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