@ProviderType public class UsbDeviceAddedEvent extends org.osgi.service.event.Event implements UsbDeviceEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
USB_EVENT_DEVICE_ADDED_TOPIC
Topic of the UsbDeviceAddedEvent
|
USB_EVENT_BUS_NUMBER_PROPERTY, USB_EVENT_DEVICE_PATH_PROPERTY, USB_EVENT_DEVICE_TYPE_PROPERTY, USB_EVENT_MANUFACTURER_NAME_PROPERTY, USB_EVENT_PRODUCT_ID_PROPERTY, USB_EVENT_PRODUCT_NAME_PROPERTY, USB_EVENT_RESOURCE_PROPERTY, USB_EVENT_USB_INTERFACE_NUMBER, USB_EVENT_USB_PORT_PROPERTY, USB_EVENT_VENDOR_ID_PROPERTY
Constructor and Description |
---|
UsbDeviceAddedEvent(java.util.Map<java.lang.String,?> properties) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getUsbBusNumber()
Returns the name of the USB bus number associated with this device.
|
java.lang.String |
getUsbDevicePath()
Returns the name of the USB device path associated with this device.
|
UsbDeviceType |
getUsbDeviceType()
Returns the USB device type.
|
java.lang.String |
getUsbManufacturerName()
Returns the name of the USB manufacturer name associated with this device.
|
java.lang.String |
getUsbPort()
Returns the name of the USB port.
|
java.lang.String |
getUsbProductId()
Returns the name of the USB product ID associated with this device.
|
java.lang.String |
getUsbProductName()
Returns the name of the USB product name associated with this device.
|
java.lang.String |
getUsbResource()
Returns the name of the USB resource associated with this device.
|
java.lang.String |
getUsbVendorId()
Returns the name of the USB vendor ID associated with this device.
|
public static final java.lang.String USB_EVENT_DEVICE_ADDED_TOPIC
public UsbDeviceAddedEvent(java.util.Map<java.lang.String,?> properties)
public java.lang.String getUsbPort()
public java.lang.String getUsbResource()
public java.lang.String getUsbVendorId()
public java.lang.String getUsbProductId()
public java.lang.String getUsbManufacturerName()
public java.lang.String getUsbProductName()
public java.lang.String getUsbBusNumber()
public java.lang.String getUsbDevicePath()
public UsbDeviceType getUsbDeviceType()