public interface MagicSearch
Modifier and Type | Method and Description |
---|---|
SearchResult[] |
getContactListFromFilter(java.lang.String filter,
java.lang.String domain)
Create a sorted list of SearchResult from SipUri, Contact name, Contact
displayname, Contact phone number, which match with a filter word The last item
list will be an address formed with "filter" if a proxy config exist During the
first search, a cache is created and used for the next search Use
linphone_magic_search_reset_search_cache() to begin a new search.
|
java.lang.String |
getDelimiter() |
boolean |
getLimitedSearch() |
int |
getMaxWeight() |
int |
getMinWeight() |
int |
getSearchLimit() |
boolean |
getUseDelimiter() |
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
void |
resetSearchCache()
Reset the cache to begin a new search.
|
void |
setDelimiter(java.lang.String delimiter)
Set the delimiter used to find matched filter word.
|
void |
setLimitedSearch(boolean limited)
Enable or disable the limited search.
|
void |
setMaxWeight(int weight)
Set the maximum value used to calculate the weight in search.
|
void |
setMinWeight(int weight)
Set the minimum value used to calculate the weight in search.
|
void |
setSearchLimit(int limit)
Set the number of the maximum SearchResult which will be return.
|
void |
setUseDelimiter(boolean enable)
Enable or disable the delimiter in search.
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
java.lang.String getDelimiter()
void setDelimiter(java.lang.String delimiter)
boolean getLimitedSearch()
void setLimitedSearch(boolean limited)
int getMaxWeight()
void setMaxWeight(int weight)
int getMinWeight()
void setMinWeight(int weight)
int getSearchLimit()
void setSearchLimit(int limit)
boolean getUseDelimiter()
void setUseDelimiter(boolean enable)
SearchResult[] getContactListFromFilter(java.lang.String filter, java.lang.String domain)
void resetSearchCache()
void setUserData(java.lang.Object data)
java.lang.Object getUserData()