Package com.mapfactor.sdk.search
Interface SearchResult
public interface SearchResult
Search result
- Since:
- 1.0
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet search result coordinateGet search result descriptionGet search result distance from current positiongetId()
Get search result IdgetName()
Get search result nameGet search result POI category.getType()
Get search result typeboolean
Search result is from search history or from a current search
-
Method Details
-
getName
Get search result name- Returns:
- search result name
- Since:
- 1.0
-
getDescription
Get search result description- Returns:
- search result description
- Since:
- 1.0
-
getType
Get search result type- Returns:
- search result type
- Since:
- 1.0
-
getDistance
Get search result distance from current position- Returns:
- search result distance from current position
- Since:
- 1.0
-
getId
Get search result Id- Returns:
- search result Id
- Since:
- 1.0
-
getCoordinate
Get search result coordinate- Returns:
- search result coordinate
- Since:
- 1.0
-
getPoiCategory
Get search result POI category. Valid only for results returned bySearch.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
-