sdk-search / com.tomtom.online.sdk.search / SearchApi / search

search

@DeprecatedSince("2020.07", "search(FuzzySearchSpecification, FuzzyOutcomeCallback)") abstract fun search(searchQuery: FuzzySearchQuery!, listener: FuzzySearchResultListener!): Unit

Performs a search action based on the provided FuzzySearchQuery object and returns the result with usage of the FuzzySearchResultListener implementation.

Parameters

searchQuery - FuzzySearchQuery!: The object which contains the data necessary to execute a search action.

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

@PublicPreview("2021.06") abstract fun search(fuzzySearchSpecification: FuzzySearchSpecification!): Result<FuzzyOutcome!>!

Performs a synchronous Fuzzy Search computing action based on the provided FuzzySearchSpecification object and returns the FuzzyOutcome.

Parameters

fuzzySearchSpecification - FuzzySearchSpecification!: The object which contains the data necessary to execute the Fuzzy Search action.

@PublicPreview("2021.06") abstract fun search(fuzzySearchSpecification: FuzzySearchSpecification!, callback: FuzzyOutcomeCallback!): Unit

Performs an asynchronous Fuzzy Search search computing action based on the provided FuzzySearchSpecification object and returns the FuzzyOutcome in the callback.

Parameters

fuzzySearchSpecification - FuzzySearchSpecification!: The object which contains the data necessary to execute the Fuzzy Search action.