public enum BuzzerAction extends java.lang.Enum<BuzzerAction>
Enum Constant and Description |
---|
AUTO
Selects to use default beep sound
|
DISABLE
Selects to turn off beep sound
|
FAILURE
Selects failure beep sounrd
|
SUCCESS
Selects success beep sound
|
Modifier and Type | Method and Description |
---|---|
static BuzzerAction |
getBuzzerAction(byte value) |
byte |
getValue() |
static BuzzerAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BuzzerAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuzzerAction SUCCESS
public static final BuzzerAction FAILURE
public static final BuzzerAction DISABLE
public static final BuzzerAction AUTO
public static BuzzerAction[] values()
for (BuzzerAction c : BuzzerAction.values()) System.out.println(c);
public static BuzzerAction 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 nullpublic byte getValue()
public static BuzzerAction getBuzzerAction(byte value)