public enum BeepVolume extends Enum<BeepVolume>
Enum Constant and Description |
---|
High
High beep volume
|
Low
Low beep volume
|
Medium
Medium beep volume
|
Mute
Turn off the beep
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static BeepVolume |
valueOf(int value) |
static BeepVolume |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeepVolume[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeepVolume Mute
public static final BeepVolume Low
public static final BeepVolume Medium
public static final BeepVolume High
public static BeepVolume[] values()
for (BeepVolume c : BeepVolume.values()) System.out.println(c);
public static BeepVolume 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 nullpublic int getValue()
public static BeepVolume valueOf(int value)