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.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val poi: Poi?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
operator fun component2(): SearchResultId
Link copied to clipboard
operator fun component3(): Place
Link copied to clipboard
operator fun component4(): Distance?
Link copied to clipboard
operator fun component5(): Poi?
Link copied to clipboard
operator fun component6(): GeoBoundingBox?
Link copied to clipboard
operator fun component7(): Detour?
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.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Checks if this SearchResult object is equal to another object.

Link copied to clipboard
open override fun hashCode(): Int

Generates a hash code for this SearchResult object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of this SearchResult object.