|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface BluetoothPeerManager.PeerEventsListener
Users of BluetoothPeerManager should most probably implement this interface and register themselves with addListener. They will then receive events about discovered devices and services.
BluetoothPeerManager.addListener(org.openuat.util.BluetoothPeerManager.PeerEventsListener)| Method Summary | |
|---|---|
void |
inquiryCompleted(java.util.Vector newDevices)
This method is called when the inquiry has been completed (either started as a one-shot process or periodically by the background inquiry. |
void |
serviceListFound(javax.bluetooth.RemoteDevice remoteDevice,
java.util.Vector services)
This method is called when the search for the services of a specific remote device has completed. |
| Method Detail |
|---|
void inquiryCompleted(java.util.Vector newDevices)
newDevices - This vector contains the list of new devices that
have been discovered since the last inquiry
completed. If no new devices have been found
during this inquiry, the vector is empty. Elements
of the vector are of type RemoteDevice.to get a list of devices
discovered so far.
void serviceListFound(javax.bluetooth.RemoteDevice remoteDevice,
java.util.Vector services)
remoteDevice - The remote device for which new services have
been found.services - The list of services of the remote device. Elements
of the vector are of type ServiceRecord.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||