Package com.mapfactor.sdk.search
Interface SearchHistory
public interface SearchHistory
Search history
- Since:
- 1.1
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSearchResult
(SearchResult searchResult) Add search result to historyvoid
setSearchHistorySize
(int maxSearchHistoryItemsCount) Set search history items maximum count.
-
Method Details
-
setSearchHistorySize
void setSearchHistorySize(int maxSearchHistoryItemsCount) Set search history items maximum count. Default is 20.- Parameters:
maxSearchHistoryItemsCount
- search history size. if maxSearchHistoryItemsCount is zero (or less than zero) no search history items are saved.- Since:
- 1.1
-
addSearchResult
Add search result to history- Parameters:
searchResult
- search result to add to search history- Since:
- 1.1
-