|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides tools for managing USB modem devices.
Field Summary | |
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. |
Method Summary | |
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 |
Field Detail |
public static final java.lang.String SERVICE_NAME
public static final java.lang.String MODEM_ATTACHED_TOPIC
public static final java.lang.String MODEM_DETACHED_TOPIC
Method Detail |
public boolean areDevicesPresent()
public java.lang.String[] getDeviceUsbPorts()
public java.lang.String[] getSerialPorts(java.lang.String usbPortNumber)
usbPortNumber
- A String representing the USB port that the device is plugged into.
public void registerListener(UsbModemListener listener)
listener
- the UsbModemListener to registerpublic void unregisterListener(UsbModemListener listener)
listener
- the UsbModemListener to unregisterpublic SupportedUsbModems getSupportedModems()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |