NearbyEVSearchResult

data class NearbyEVSearchResult(val address: Address, val distance: Long = 0, val compatibleChargingPoints: Array<ChargingPoint>, val nbEffectiveChargingPoints: Int) : NearbySearchResult

Data class that defines a result from ReverseSearchEngine.searchAround using an EvSearchFilter

Parameters

address

the address of the result

distance

the distance (in meters) from the position passed in ReverseSearchEngine.searchAround to this POI.

compatibleChargingPoints

the list of ChargingPoint that are compatible with the EvSearchFilter.vehicle

nbEffectiveChargingPoints

// Number of effective charging points (may be compatibleChargingPoints.size if the detailed description of all charging points is not available).

Constructors

Link copied to clipboard
constructor(address: Address, distance: Long = 0, compatibleChargingPoints: Array<ChargingPoint>, nbEffectiveChargingPoints: Int)

Properties

Link copied to clipboard
open override val address: Address
Link copied to clipboard
open override val distance: Long = 0

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int