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.
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.
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