Package-level declarations

Includes the interface for the EV Search API, alongside associated options, response data classes and the callback interface.

Types

Link copied to clipboard

Callback that reports when a EvSearchResponse or SearchFailure has been received.

Link copied to clipboard
class EvSearchOptions(val geoBias: GeoBias, @IntRange(from = 1, to = 100) val limit: Int = DEFAULT_LIMIT, val connectors: List<ConnectorType>? = null, val status: Status? = null, val minPower: Power? = null, val maxPower: Power? = null, val accessTypes: List<AccessType>? = null, val locale: Locale = Locale.getDefault())

Defines the parameters of an Electric Vehicle (EV) Search, used for EvSearchResult filtering.

Link copied to clipboard
class EvSearchResponse(val results: List<EvSearchResult> = emptyList())

Response from the EV Search API.