public class IUSBDeviceStateChangedEvent extends IEvent
IConsole.attachUSBDevice(String,String)
orIConsole.detachUSBDevice(String)
.
This notification is sent in case of both a succeeded and a
failed request completion. When the request succeeds, the
error parameter is null, and the given device has been
already added to (when attached is true) or removed from
(when attached is false) the collection represented byIConsole.getUSBDevices()
. On failure, the collection
doesn't change and the error parameter represents the error
message describing the failure.
Interface ID: {806DA61B-6679-422A-B629-51B06B0C6D93}Constructor and Description |
---|
IUSBDeviceStateChangedEvent(java.lang.String wrapped,
org.virtualbox_6_0.ObjectRefManager objMgr,
org.virtualbox_6_0.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getAttached()
true if the device was attached and false otherwise.
|
IUSBDevice |
getDevice()
Device that is subject to state change.
|
IVirtualBoxErrorInfo |
getError()
null on success or an error message object on failure.
|
static IUSBDeviceStateChangedEvent |
queryInterface(IUnknown obj) |
getSource, getType, getWaitable, setProcessed, waitProcessed
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IUSBDeviceStateChangedEvent(java.lang.String wrapped, org.virtualbox_6_0.ObjectRefManager objMgr, org.virtualbox_6_0.jaxws.VboxPortType port)
public IUSBDevice getDevice()
public java.lang.Boolean getAttached()
public IVirtualBoxErrorInfo getError()
public static IUSBDeviceStateChangedEvent queryInterface(IUnknown obj)