sdk-search / com.tomtom.online.sdk.search.data.batch / BatchSearchResponse

BatchSearchResponse

open class BatchSearchResponse : ServiceBaseResponse, Batchable

Response to an Batch Search request.

Constructors

<init>

BatchSearchResponse()

Response to an Batch Search request.

Properties

responses

var responses: Array<BatchableSearchResponse!>!

successfulRequests

var successfulRequests: Int

totalRequests

var totalRequests: Int

Functions

getFuzzySearchResponses

open fun getFuzzySearchResponses(): MutableList<FuzzySearchResponse!>!

Gets a list of Fuzzy Search results of a Batch Search query. This list will be empty if there were no requests of this type.

getGeometrySearchResponses

open fun getGeometrySearchResponses(): MutableList<GeometrySearchResponse!>!

Gets a list of Geometry Search results of a Batch Search query. This list will be empty if there were no requests of this type.

getReverseGeocoderSearchResponses

open fun getReverseGeocoderSearchResponses(): MutableList<ReverseGeocoderSearchResponse!>!

Gets a list of Reverse Geocoding Search results of a Batch Search query. This list will be empty if there were no requests of this type.

getSearchResponses

open fun getSearchResponses(): ImmutableList<BatchableSearchResponse!>!

Gets the list of results of a Batch Search query. For each item, use BatchableSearchResponseVisitor to obtain the specific Response type.