com.esf.device.usb.manager.service
Interface IUsbManagerService
public interface IUsbManagerService
- Author:
- chad.kienle
Method Summary |
UsbDeviceContainer |
getDevice(java.lang.String id)
Returns a UsbDeviceContainer object representing an attached USB device that matches the
supplied ID. |
java.util.ArrayList |
getDevices()
Returns an ArrayList of Strings representing the connected devices. |
DEVICE_ATTACHED_TOPIC
static final java.lang.String DEVICE_ATTACHED_TOPIC
- See Also:
- Constant Field Values
DEVICE_DETACHED_TOPIC
static final java.lang.String DEVICE_DETACHED_TOPIC
- See Also:
- Constant Field Values
SERVICE_NAME
static final java.lang.String SERVICE_NAME
- Reports the class name representing this interface.
getDevice
UsbDeviceContainer getDevice(java.lang.String id)
- Returns a UsbDeviceContainer object representing an attached USB device that matches the
supplied ID.
- Parameters:
id
- A String representing the ID of the attached USB device
- Returns:
- A UsbDeviceContainer object representing the attached USB device
getDevices
java.util.ArrayList getDevices()
- Returns an ArrayList of Strings representing the connected devices. The list of returned
Strings can be used to get a USB device in the getDevice(String id) method
- Returns:
- An ArrayList of the Device IDs of connected devices.