|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWifiUsbManagerService
| Field Summary | |
|---|---|
static java.lang.String |
SERVICE_NAME
Reports the class name representing this interface. |
static java.lang.String |
WIFI_ATTACHED_TOPIC
|
static java.lang.String |
WIFI_DETACHED_TOPIC
|
static java.lang.String |
WIFI_PROPERTY_INTERFACE_NAME
|
static java.lang.String |
WIFI_PROPERTY_USB_PORT_ADDRESS
|
| 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 devices |
java.lang.String |
getInterfaceName(java.lang.String usbPortNumber)
This method returns the interface that has been assigned to the Wifi device attached to a specified USB port. |
void |
registerListener(WifiListener listener)
This method registers an Wifi Listener to be notified when a device has been attached or detached |
void |
unregisterListener(WifiListener listener)
This method unregisters an Wifi Listener |
| Field Detail |
|---|
static final java.lang.String SERVICE_NAME
static final java.lang.String WIFI_ATTACHED_TOPIC
static final java.lang.String WIFI_DETACHED_TOPIC
static final java.lang.String WIFI_PROPERTY_USB_PORT_ADDRESS
static final java.lang.String WIFI_PROPERTY_INTERFACE_NAME
| Method Detail |
|---|
boolean areDevicesPresent()
java.lang.String[] getDeviceUsbPorts()
java.lang.String getInterfaceName(java.lang.String usbPortNumber)
usbPortNumber - A String representing the USB port that the device is plugged into.
void registerListener(WifiListener listener)
listener - A class implementing the Wifi interfacevoid unregisterListener(WifiListener listener)
listener - A class implementing the Wifi interface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||