Package-level declarations

Types

Link copied to clipboard
sealed class EngineType

Represents different types of vehicle engines and their associated criteria. Used specify engine-related search criteria in the configuration. Depending on the engine type, you can provide further details like the types of connectors for electric vehicles or fuel types for combustion vehicles.

Link copied to clipboard
class SearchConfiguration(val categories: Set<CategoryId> = DEFAULT_POI_CATEGORIES, val detourTime: Duration = DEFAULT_DETOUR_TIME, val numberOfResults: Int = DEFAULT_NUMBER_OF_RESULTS, val minPower: Power? = null, val maxPower: Power? = null, val engineType: EngineType? = null, val openingHoursMode: OpeningHoursMode? = null)

These configuration parameters are used to execute a Point of Interest (Poi) search.

Link copied to clipboard

Entry point for all methods related to the search visualization. Instances of SearchVisualization are created using SearchVisualizationFactory.create. You should call methods on these instances from the main thread only, otherwise an exception can occur. To use a SearchVisualization instance, first provide a route geometry and a SearchConfiguration with the displayPoisAlongRoute method. You can then call clear to remove all the primitives that have been added to the map. Additionally, you can add or remove tap observers for the Pois using the addPoiClickListener and removePoiClickListener methods, respectively.

Link copied to clipboard

A factory responsible for constructing SearchVisualization instances.

Link copied to clipboard

Failure that can occur during SearchVisualization.displayPois.

Link copied to clipboard
class SearchVisualizationResponse(val displayedPois: List<Poi>)

Response from the SearchVisualization.displayPois.