additionalDataSearch

abstract fun additionalDataSearch(additionalDataSearchOptions: AdditionalDataSearchOptions): Result<AdditionalDataSearchResponse, AdditionalDataSearchError>

Performs a synchronous additional data search described by the provided AdditionalDataSearchOptions object. Delivers the Result containing an AdditionalDataSearchResponse, or an AdditionalDataSearchError if the action fails.

Return

The Result containing an AdditionalDataSearchResponse if the call succeeds, or an AdditionalDataSearchError if it fails.

Parameters

additionalDataSearchOptions

The object which contains search properties for the given search request.


abstract fun additionalDataSearch(additionalDataSearchOptions: AdditionalDataSearchOptions, additionalDataSearchCallback: AdditionalDataSearchCallback): Cancellable

Performs an asynchronous additional data search described by the provided AdditionalDataSearchOptions object. Returns the result using the provided AdditionalDataSearchCallback.

Parameters

additionalDataSearchOptions

The object which contains properties for the given search request.

additionalDataSearchCallback

The AdditionalDataSearchCallback invoked when the search operation has finished, either successfully or with an error. The callback will be executed on the main thread.