sdk-search / com.tomtom.online.sdk.search.api.alongroute / AlongRouteSearchApi / alongRouteSearch

alongRouteSearch

abstract fun alongRouteSearch(query: AlongRouteSearchQuery!): Single<AlongRouteSearchResponse!>!

Performs reactive search along route action based on provided query object and returns the result to Observers subscribed to returned Observable.

Parameters

query - AlongRouteSearchQuery!: Object which contains data necessary to execute search action

Return
Single<AlongRouteSearchResponse!>!: Search response's Observable object.

abstract fun alongRouteSearch(query: AlongRouteSearchQuery!, listener: AlongRouteSearchResultListener!): Unit

Performs along route search action based on provided query object and returns the result with usage of callback implementation.

Parameters

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

listener - AlongRouteSearchResultListener!: The callback which informs the subscriber when search result is available.