Interface SearchHistory


public interface SearchHistory
Search history
Since:
1.1
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addSearchResult​(SearchResult searchResult)
    Add search result to history
    void
    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

      void addSearchResult(@NonNull SearchResult searchResult)
      Add search result to history
      Parameters:
      searchResult - search result to add to search history
      Since:
      1.1