sdk-search / com.tomtom.online.sdk.search.api.geometry / GeometrySearchApi

GeometrySearchApi

interface GeometrySearchApi : RxContext

Defines the geometry search api.

Functions

cancelSearchIfRunning

abstract fun cancelSearchIfRunning(): Unit

Cancels the current geometry search request.

geometrySearch

abstract fun geometrySearch(query: GeometrySearchQuery!): Single<GeometrySearchResponse!>!

Performs reactive geometry search action based on provided GeometrySearchQuery object and returns the result to Observers subscribed to returned Single.

abstract fun geometrySearch(query: GeometrySearchQuery!, listener: GeometrySearchResultListener!): Unit

Performs geometry search action based on provided GeometrySearchQuery object and returns the result with usage of GeometrySearchResultListener implementation.

Inheritors

GeometrySearchApiImpl

open class GeometrySearchApiImpl : GeometrySearchApi

Default implementation of the geometry search service's api.