Class: VBox::USBDeviceStateChangedEvent
- Defined in:
- lib/virtualbox/classes/events/usb_device_state_changed_event.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #attached ⇒ Object
-
#device ⇒ Object
Attributes.
Methods inherited from Event
#set_processed, #source, #type, #wait_processed, #waitable
Methods inherited from Base
#_this, #delete!, #ensure_hash, #initialize, #vbox_class
Constructor Details
This class inherits a constructor from VBox::Base
Instance Method Details
#attached ⇒ Object
11 12 13 |
# File 'lib/virtualbox/classes/events/usb_device_state_changed_event.rb', line 11 def attached VBox::WebService.send_request(:iusb_device_state_changed_event_get_attached, _this) end |
#device ⇒ Object
Attributes
6 7 8 9 |
# File 'lib/virtualbox/classes/events/usb_device_state_changed_event.rb', line 6 def device usb_device = VBox::WebService.send_request(:iusb_device_state_changed_event_get_device, _this) VBox::USBDevice.new(usb_device) end |