sdk-search / com.tomtom.online.sdk.search.data.geometry / GeometrySearchResponse

GeometrySearchResponse

open class GeometrySearchResponse : ServiceBaseResponse, Serializable, BatchableSearchResponse

The Response to a Geometry Search Request. It consists of a summary and a result list.

Constructors

<init>

GeometrySearchResponse()

The Response to a Geometry Search Request. It consists of a summary and a result list.

Properties

results

var results: Array<GeometrySearchResult!>!

The result list.

summary

var summary: Summary!

This section contains basic information about returned results. -- GETTER --

Functions

accept

open fun accept(visitor: BatchableSearchResponseVisitor!): Unit

getResults

open fun getResults(): ImmutableList<GeometrySearchResult!>!

The getter of the results list. It creates an immutable list of geometry search results if the result array is not empty. Otherwise it returns an empty, immutable list.

hasResults

open fun hasResults(): Boolean

This specifies if the results where retrieved from a Fuzzy Search Request.