Notification when a USB device is attached to or detached from the virtual USB controller. More...
|readonly attribute IUSBDevice||device|
|Device that is subject to state change. |
|readonly attribute boolean||attached|
|readonly attribute |
Notification when a USB device is attached to or detached from the virtual USB controller.
This notification is sent as a result of the indirect request to attach the device because it matches one of the machine USB filters, or as a result of the direct request issued by IConsole::attachUSBDevice or IConsole::detachUSBDevice.
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 by IConsole::USBDevices. On failure, the collection doesn't change and the error parameter represents the error message describing the failure.
Device that is subject to state change.
|readonly attribute boolean IUSBDeviceStateChangedEvent::attached|
true if the device was attached and