|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<USBConnectionSpeed>
org.virtualbox_5_1.USBConnectionSpeed
public 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.
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 |
---|
public static final USBConnectionSpeed Null
public static final USBConnectionSpeed Low
public static final USBConnectionSpeed Full
public static final USBConnectionSpeed High
public static final USBConnectionSpeed Super
public static final USBConnectionSpeed SuperPlus
Method Detail |
---|
public static USBConnectionSpeed[] values()
for (USBConnectionSpeed c : USBConnectionSpeed.values()) System.out.println(c);
public static USBConnectionSpeed 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 name
java.lang.NullPointerException
- if the argument is nullpublic int value()
public static USBConnectionSpeed fromValue(long v)
public static USBConnectionSpeed fromValue(java.lang.String v)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |