org.virtualbox_7_0
Enum AudioDeviceState

java.lang.Object
  extended by java.lang.Enum<AudioDeviceState>
      extended by org.virtualbox_7_0.AudioDeviceState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AudioDeviceState>

public enum AudioDeviceState
extends java.lang.Enum<AudioDeviceState>

Audio device state enumeration. Interface ID: {45C1B969-556A-4277-8570-B438D2EF5EBE}


Enum Constant Summary
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.
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Unknown

public static final AudioDeviceState Unknown
Device state is unknown / cannot be determined


Active

public static final AudioDeviceState Active
Device is active and can be used.


Disabled

public static final AudioDeviceState Disabled
Device is in a disabled state.


NotPresent

public static final AudioDeviceState NotPresent
Device is marked as not being present.


Unplugged

public static final AudioDeviceState Unplugged
Device has been unplugged.

Method Detail

values

public static AudioDeviceState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AudioDeviceState c : AudioDeviceState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AudioDeviceState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static AudioDeviceState fromValue(long v)

fromValue

public static AudioDeviceState fromValue(java.lang.String v)