public enum AudioDeviceState extends java.lang.Enum<AudioDeviceState>
Enum Constant and Description |
---|
Active
Ready for use (or has been plugged or enabled)
|
Disabled
The device has been disabled
|
Unknown
The device state is unknown
|
Unplugged
The device has been removed
|
Modifier and Type | Method and Description |
---|---|
static AudioDeviceState |
fromInt(int i) |
static AudioDeviceState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AudioDeviceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioDeviceState Active
public static final AudioDeviceState Disabled
public static final AudioDeviceState Unplugged
public static final AudioDeviceState Unknown
public static AudioDeviceState[] values()
for (AudioDeviceState c : AudioDeviceState.values()) System.out.println(c);
public static AudioDeviceState 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 static AudioDeviceState fromInt(int i)