public enum AudioDeviceState extends java.lang.Enum<AudioDeviceState>
{45C1B969-556A-4277-8570-B438D2EF5EBE}
Enum Constant and Description |
---|
Active
Device is active and can be used.
|
Disabled
Device is in a disabled state.
|
NotPresent
Device is marked as not being present.
|
Unknown
Device state is unknown / cannot be determined
|
Unplugged
Device has been unplugged.
|
Modifier and Type | Method and Description |
---|---|
static AudioDeviceState |
fromValue(long v) |
static AudioDeviceState |
fromValue(java.lang.String v) |
int |
value() |
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 Unknown
public static final AudioDeviceState Active
public static final AudioDeviceState Disabled
public static final AudioDeviceState NotPresent
public static final AudioDeviceState Unplugged
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 int value()
public static AudioDeviceState fromValue(long v)
public static AudioDeviceState fromValue(java.lang.String v)