fuzzySearch

abstract fun fuzzySearch(fuzzySearchOptions: FuzzySearchOptions): Result<FuzzySearchResponse, FuzzySearchError>

Performs a synchronous Fuzzy Search computing action based on the provided FuzzySearchOptions object and delivers the Result by the provided an FuzzySearchResponse or a FuzzySearchError if the action fails.

Return

The Result contains an FuzzySearchResponse in case of success or an FuzzySearchError in case of failure.

Parameters

fuzzySearchOptions

The object which contains the data necessary to execute the Fuzzy Search action.


abstract fun fuzzySearch(fuzzySearchOptions: FuzzySearchOptions, fuzzySearchCallback: FuzzySearchCallback): Cancellable

Performs an asynchronous Fuzzy Search computing action based on the provided FuzzySearchOptions object and returns the result by the provided FuzzySearchCallback.

Parameters

fuzzySearchOptions

The object which contains the data necessary to execute the Fuzzy Search action.

fuzzySearchCallback

The FuzzySearchCallback invoked when the search operation has been finished either successfully or with an error. The callback will be executed in the main thread.