Top Description Methods
javax.usb.event

public Interface UsbDeviceListener

extends EventListener
Imports
java.util.EventListener

Interface for receiving UsbDeviceEvents.
Author
E. Michael Maximilien

Method Summary

Modifier and TypeMethod and Description
public void
dataEventOccurred(UsbDeviceDataEvent
The UsbDeviceDataEvent.
event
)

Data was successfully transferred.

public void
errorEventOccurred(UsbDeviceErrorEvent
The UsbDeviceErrorEvent.
event
)

An error occurred.

public void
usbDeviceDetached(UsbDeviceEvent
The UsbDeviceEvent.
event
)

The UsbDevice was detached.

Method Detail

dataEventOccurredback to summary
public void dataEventOccurred(UsbDeviceDataEvent event)

Data was successfully transferred.

Parameters
event:UsbDeviceDataEvent

The UsbDeviceDataEvent.

errorEventOccurredback to summary
public void errorEventOccurred(UsbDeviceErrorEvent event)

An error occurred.

Parameters
event:UsbDeviceErrorEvent

The UsbDeviceErrorEvent.

usbDeviceDetachedback to summary
public void usbDeviceDetached(UsbDeviceEvent event)

The UsbDevice was detached.

Parameters
event:UsbDeviceEvent

The UsbDeviceEvent.