org.virtualbox_6_0
Enum DeviceType

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

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

Device type. Interface ID: {CB977BE1-D1FB-41F8-AD7E-951736C6CB3E}


Enum Constant Summary
DVD
          CD/DVD-ROM device.
Floppy
          Floppy device.
Graphics3D
          Graphics device 3D activity.
HardDisk
          Hard disk device.
Network
          Network device.
Null
          Null value, may also mean "no device" (not allowed forIConsole.getDeviceActivity(List)).
SharedFolder
          Shared folder device.
USB
          USB device.
 
Method Summary
static DeviceType fromValue(long v)
           
static DeviceType fromValue(java.lang.String v)
           
 int value()
           
static DeviceType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DeviceType[] 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

Null

public static final DeviceType Null
Null value, may also mean "no device" (not allowed forIConsole.getDeviceActivity(List)).


Floppy

public static final DeviceType Floppy
Floppy device.


DVD

public static final DeviceType DVD
CD/DVD-ROM device.


HardDisk

public static final DeviceType HardDisk
Hard disk device.


Network

public static final DeviceType Network
Network device.


USB

public static final DeviceType USB
USB device.


SharedFolder

public static final DeviceType SharedFolder
Shared folder device.


Graphics3D

public static final DeviceType Graphics3D
Graphics device 3D activity.

Method Detail

values

public static DeviceType[] 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 (DeviceType c : DeviceType.values())
    System.out.println(c);

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

valueOf

public static DeviceType 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 DeviceType fromValue(long v)

fromValue

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