public class MappedinSearch
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
void | 
search(java.lang.String input,
      int timeout)
Requesting search using to the input query, returns first 10 results 
 | 
void | 
setDelegate(MappedinSearchDelegate searchDelegate)
Set the callback function for suggestion and search, those functions will get called
 when the search server returns suggest or search result 
 | 
public void setDelegate(MappedinSearchDelegate searchDelegate)
searchDelegate - SearchDelegatepublic void search(java.lang.String input,
                   int timeout)
input - query used to do the searchtimeout - the maximum time in milliseconds to wait for result