Search

interface Search : AutoCloseable

The Search interface is a comprehensive set of APIs designed to seamlessly integrate advanced search functionality into your application.

Functions

Link copied to clipboard

Autocomplete Search feature can predict what a user is searching for based on what they have already typed in. It can identify entities within a user's query and suggest them as potential search terms. This feature optimizes the accuracy of the search results by offering relevant suggestions and completing the user's query.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
abstract fun requestGeometryData(options: GeometryDataOptions): Result<GeometryDataResponse, SearchFailure>

Performs a synchronous geometry data request described by the provided GeometryDataOptions object. Delivers the Result containing a GeometryDataResponse, or a SearchFailure if the action fails.

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
abstract fun requestGeometryData(options: GeometryDataOptions, callback: GeometryDataCallback): Cancellable

Performs an asynchronous geometry data request described by the provided GeometryDataOptions object. Returns the result using the provided GeometryDataCallback.

Link copied to clipboard

Synchronously provides a full list of POI categories and subcategories together with their translations and synonyms.

Asynchronously provides a complete list of POI categories and subcategories with their translations and synonyms.

Link copied to clipboard

Synchronously, provides POI details by a given POI identifier.

Asynchronously, provides POI details by a given POI identifier.

Link copied to clipboard
abstract fun search(searchOptions: SearchOptions): Result<SearchResponse, SearchFailure>

Performs a synchronous search computing action based on the provided SearchOptions object and delivers the Result by the provided SearchResponse, or by a SearchFailure if the action fails.

abstract fun search(options: SearchOptions, callback: SearchCallback): Cancellable

Performs an asynchronous search computing action based on the provided SearchOptions object and returns the result by the provided SearchCallback.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
abstract fun sendFeedback(feedbackEvent: FeedbackEvent): Result<Unit, SearchFailure>

Synchronously sends a feedback event for the search.

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
abstract fun sendFeedback(feedbackEvent: FeedbackEvent, callback: FeedbackCallback): Cancellable

Asynchronously sends a feedback event for the search.

Inherited functions

Link copied to clipboard
abstract fun close()