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

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.

Parameters

query - GeometrySearchQuery!: The object which contains data necessary to execute search action

Return
Single<GeometrySearchResponse!>!: com.tomtom.online.sdk.search.data.geometry.response.Response's Single object.

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.

Parameters

query - GeometrySearchQuery!: The object which contains data necessary to execute search action

listener - GeometrySearchResultListener!: The listener which informs the subscriber when search result is available. It contains GeometrySearchResult object