MapboxEVSearchClientApi

Constructors

Link copied to clipboard
constructor(platform: MapboxEvSearch)

Functions

Link copied to clipboard
suspend fun getEVSEbyId(locationId: String, evseId: String): Either<MapboxEVPlatformError, EVSE>
Link copied to clipboard
Link copied to clipboard
suspend fun getLocationConnectorById(locationId: String, evseId: String, connectorId: String): Either<MapboxEVPlatformError, EVSEConnector>
Link copied to clipboard
suspend fun searchChargers(    latitude: Double,     longitude: Double,     options: SearchOptions): Either<MapboxEVPlatformError, List<MapboxEVSearchResult>>

Performs a search for EV stations.

suspend fun searchChargers(latitude: Double, longitude: Double, resultLimit: Int): Either<MapboxEVPlatformError, List<MapboxEVSearchResult>>
suspend fun searchChargers(    latitude: Double,     longitude: Double,     searchRadius: Double,     resultLimit: Int): Either<MapboxEVPlatformError, List<MapboxEVSearchResult>>