|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUsbModemManagerService
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 |
|---|
static final java.lang.String SERVICE_NAME
static final java.lang.String MODEM_ATTACHED_TOPIC
static final java.lang.String MODEM_DETACHED_TOPIC
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||