public enum AudioDeviceType extends java.lang.Enum<AudioDeviceType>
{95457071-EF88-45A9-8416-FC05B08731D2}
Enum Constant and Description |
---|
BuiltLin
Built-in device (cannot be removed).
|
ExternalOther
External device, connected via some other method.
|
ExternalUSB
External device, connected via USB.
|
Unknown
Device type is unknown / cannot be determined
|
Modifier and Type | Method and Description |
---|---|
static AudioDeviceType |
fromValue(long v) |
static AudioDeviceType |
fromValue(java.lang.String v) |
int |
value() |
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 Unknown
public static final AudioDeviceType BuiltLin
public static final AudioDeviceType ExternalUSB
public static final AudioDeviceType ExternalOther
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 int value()
public static AudioDeviceType fromValue(long v)
public static AudioDeviceType fromValue(java.lang.String v)