SearchResult
class SearchResult
Describes the details of a single result item returned by the Search API.
Constructors
Link copied to clipboard
constructor(type: SearchResultType, searchResultId: SearchResultId, place: Place, distance: Distance? = null, poi: Poi? = null, boundingBox: GeoBoundingBox? = null, detour: Detour? = null)
Constructs a SearchResult object with the given parameters.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun copy(type: SearchResultType = this.type, searchResultId: SearchResultId = this.searchResultId, place: Place = this.place, distance: Distance? = this.distance, poi: Poi? = this.poi, boundingBox: GeoBoundingBox? = this.boundingBox, detour: Detour? = this.detour): SearchResult
Creates a copy of this SearchResult object with optional parameter overrides.