public enum AudioDeviceType extends java.lang.Enum<AudioDeviceType>
Enum Constant and Description |
---|
Input
Input device (microphone)
|
InputAndOutput
The device supports both input AND output
|
Output
Output device (speaker or headset)
|
Unknown
The device type is unknown - the device does not support neither input nor output
|
Modifier and Type | Method and Description |
---|---|
static AudioDeviceType |
fromInt(int i) |
static AudioDeviceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AudioDeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioDeviceType Input
public static final AudioDeviceType Output
public static final AudioDeviceType InputAndOutput
public static final AudioDeviceType Unknown
public static AudioDeviceType[] values()
for (AudioDeviceType c : AudioDeviceType.values()) System.out.println(c);
public static AudioDeviceType 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 AudioDeviceType fromInt(int i)