| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SearchCallback
Implementations of this interface are capable of receiving notifications when devices and/or services matching a specified search criteria are found.
 Searches for devices/services can be initiated by means of the corresponding
 static methods of class SearchManager, which accept an instance of
 the SearchCallback interface.
 
SearchManager| Method Summary | |
|---|---|
|  void | deviceFound(DeviceReference devRef,
            SearchParameter search)This method is called each time a device matching the initial search criteria (as contained within argument search) has been
 found. | 
|  void | serviceFound(ServiceReference servRef,
             SearchParameter search)This method is called each time a service matching the initial search criteria (as contained within argument search) has been
 found. | 
| Method Detail | 
|---|
void deviceFound(DeviceReference devRef,
                 SearchParameter search)
search) has been
 found.
devRef - a reference to the matching devicesearch - the collection of criteria the search was initiated with
void serviceFound(ServiceReference servRef,
                  SearchParameter search)
search) has been
 found.
servRef - a reference to the matching servicesearch - the list of criteria the search was initiated with| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||