public interface IUsbModemManagerService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MODEM_ATTACHED_TOPIC |
static java.lang.String |
MODEM_DETACHED_TOPIC |
static java.lang.String |
SERVICE_NAME
Reports the class name representing this interface.
|
Modifier and Type | Method and Description |
---|---|
boolean |
areDevicesPresent()
This method returns whether or not there are any devices currently attached.
|
java.lang.String[] |
getDeviceUsbPorts()
Returns an array of Strings that represent the USB port names of the connected modems
|
java.lang.String[] |
getSerialPorts(java.lang.String usbPortNumber)
Returns the serial ports that have been assigned to the USB modem attached to a specific
USB port
|
SupportedUsbModems |
getSupportedModems()
returns the list of supported USB modems
|
void |
registerListener(UsbModemListener listener)
registers a listener with the IUsbModemManagerServers
|
void |
unregisterListener(UsbModemListener listener)
unregisters a listener with the IUsbModemManagerServers
|
static final java.lang.String SERVICE_NAME
static final java.lang.String MODEM_ATTACHED_TOPIC
static final java.lang.String MODEM_DETACHED_TOPIC
boolean areDevicesPresent()
java.lang.String[] getDeviceUsbPorts()
java.lang.String[] getSerialPorts(java.lang.String usbPortNumber)
usbPortNumber
- A String representing the USB port that the device is plugged into.void registerListener(UsbModemListener listener)
listener
- the UsbModemListener to registervoid unregisterListener(UsbModemListener listener)
listener
- the UsbModemListener to unregisterSupportedUsbModems getSupportedModems()
Copyright © 2009 Eurotech Inc. All rights reserved.