sdk-search / com.tomtom.online.sdk.search.api.batch / BatchSearchApi / batchSearch

batchSearch

abstract fun batchSearch(searchQuery: BatchSearchQuery!, listener: BatchSearchResultListener!): Unit

Performs batch search action based on provided BatchSearchQuery object and returns the result with usage of callback implementation.

Parameters

searchQuery - BatchSearchQuery!: The object which contains data necessary to execute search batch action.

listener - BatchSearchResultListener!: The listener which informs the subscriber when search result is available. It contains com.tomtom.online.sdk.common.service.ServiceResponse object.

abstract fun batchSearch(query: BatchSearchQuery!): Single<BatchSearchResponse!>!

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

Parameters

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

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