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

AlongRouteSearchApi

interface AlongRouteSearchApi : RxContext

Defines the along route search api.

Functions

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.

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.

cancelSearchIfRunning

abstract fun cancelSearchIfRunning(): Unit

Cancels the current along route search request.

Inheritors

AlongRouteSearchApiImpl

open class AlongRouteSearchApiImpl : AlongRouteSearchApi

Default implementation of the along route search service's api.