public enum BuzzerOperationMode extends java.lang.Enum<BuzzerOperationMode>
Enum Constant and Description |
---|
OFF
Selects to turn off beep sound
|
ONCE
Selects to sound the beep once
|
REPEAT
Selects to repeatedly sound the beep
|
Modifier and Type | Method and Description |
---|---|
static BuzzerOperationMode |
getBuzzerOperationMode(byte value) |
byte |
getValue() |
static BuzzerOperationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BuzzerOperationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuzzerOperationMode OFF
public static final BuzzerOperationMode ONCE
public static final BuzzerOperationMode REPEAT
public static BuzzerOperationMode[] values()
for (BuzzerOperationMode c : BuzzerOperationMode.values()) System.out.println(c);
public static BuzzerOperationMode 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 BuzzerOperationMode getBuzzerOperationMode(byte value)