public static enum Actions.PowerMode extends Enum<Actions.PowerMode>
| Enum Constant and Description |
|---|
HIGH
High power mode.
|
LOW
Low power mode.
|
NORMAL
Normal power mode.
|
SLEEPING
Sleeping.
|
| Modifier and Type | Method and Description |
|---|---|
static Actions.PowerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Actions.PowerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Actions.PowerMode SLEEPING
public static final Actions.PowerMode LOW
public static final Actions.PowerMode NORMAL
public static final Actions.PowerMode HIGH
public static Actions.PowerMode[] values()
for (Actions.PowerMode c : Actions.PowerMode.values()) System.out.println(c);
public static Actions.PowerMode 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 © 2023 OBM, LLC. All rights reserved.