Interface SearchResult


public interface SearchResult
Search result
Since:
1.0
  • Method Details

    • getName

      @NonNull String getName()
      Get search result name
      Returns:
      search result name
      Since:
      1.0
    • getDescription

      @NonNull String getDescription()
      Get search result description
      Returns:
      search result description
      Since:
      1.0
    • getType

      @Nullable SearchResult.Type getType()
      Get search result type
      Returns:
      search result type
      Since:
      1.0
    • getDistance

      @NonNull String getDistance()
      Get search result distance from current position
      Returns:
      search result distance from current position
      Since:
      1.0
    • getId

      @NonNull String getId()
      Get search result Id
      Returns:
      search result Id
      Since:
      1.0
    • getCoordinate

      @NonNull Coordinate getCoordinate()
      Get search result coordinate
      Returns:
      search result coordinate
      Since:
      1.0
    • getPoiCategory

      @Nullable PoiCategory getPoiCategory()
      Get search result POI category. Valid only for results returned by Search.startPoiSearch(String, List, List, List, Coordinate, int, SearchResultsListener)
      Returns:
      POI category
      Since:
      1.0
    • isHistory

      boolean isHistory()
      Search result is from search history or from a current search
      Returns:
      true when this is a result from search history, false otherwise
      Since:
      3.7