public static enum State.AlertMode extends Enum<State.AlertMode>
| Enum Constant and Description |
|---|
LSELECT
Light is performing breathe cycles for 30 seconds (unless cancelled)
|
NONE
Light is not performing alert effect
|
SELECT
Light is performing one breathe cycle
|
| Modifier and Type | Method and Description |
|---|---|
static State.AlertMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static State.AlertMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final State.AlertMode NONE
public static final State.AlertMode SELECT
public static final State.AlertMode LSELECT
public static State.AlertMode[] values()
for (State.AlertMode c : State.AlertMode.values()) System.out.println(c);
public static State.AlertMode 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 null