public enum ModemPowerMode extends Enum<ModemPowerMode>
| Enum Constant and Description |
|---|
LOW_POWER
LOW_POWER Mode
|
OFFLINE
OFFLINE Mode
|
ONLINE
ONLINE Mode
|
UNKNOWN
UNKNOWN Mode
|
| Modifier and Type | Method and Description |
|---|---|
static ModemPowerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModemPowerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModemPowerMode UNKNOWN
public static final ModemPowerMode OFFLINE
public static final ModemPowerMode ONLINE
public static final ModemPowerMode LOW_POWER
public static ModemPowerMode[] values()
for (ModemPowerMode c : ModemPowerMode.values()) System.out.println(c);
public static ModemPowerMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2013. All Rights Reserved.