org.virtualbox_5_2
Enum USBConnectionSpeed

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

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

USB device/port speed state. This enumeration represents speeds at which a USB device can communicate with the host. The speed is a function of both the device itself and the port which it is attached to, including hubs and cables in the path. NOTE: Due to differences in USB stack implementations on various hosts, the reported speed may not exactly match the actual speed.

See Also:
Interface ID: {D2915840-EA26-4FB4-B72A-21EAF6B888FF}

Enum Constant Summary
Full
          Full speed, 12 Mbps.
High
          High speed, 480 Mbps.
Low
          Low speed, 1.5 Mbps.
Null
          null value.
Super
          SuperSpeed, 5 Gbps.
SuperPlus
          SuperSpeedPlus, 10 Gbps.
 
Method Summary
static USBConnectionSpeed fromValue(long v)
           
static USBConnectionSpeed fromValue(java.lang.String v)
           
 int value()
           
static USBConnectionSpeed valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static USBConnectionSpeed[] 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 USBConnectionSpeed Null
null value. Never returned by the API.


Low

public static final USBConnectionSpeed Low
Low speed, 1.5 Mbps.


Full

public static final USBConnectionSpeed Full
Full speed, 12 Mbps.


High

public static final USBConnectionSpeed High
High speed, 480 Mbps.


Super

public static final USBConnectionSpeed Super
SuperSpeed, 5 Gbps.


SuperPlus

public static final USBConnectionSpeed SuperPlus
SuperSpeedPlus, 10 Gbps.

Method Detail

values

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

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

valueOf

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

fromValue

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