SearchResult
data class SearchResult(val type: SearchResultType, val searchResultId: SearchResultId, val place: Place, val distance: Distance? = null, val poi: Poi? = null, val boundingBox: GeoBoundingBox? = null, val detour: Detour? = null)
Describes the details of a single result item returned by the Search API.
Important: This is a Public Preview API. It may be changed or removed at any time.
Constructors
Link copied to clipboard
fun SearchResult(type: SearchResultType, searchResultId: SearchResultId, place: Place, distance: Distance? = null, poi: Poi? = null, boundingBox: GeoBoundingBox? = null, detour: Detour? = null)