MapboxEvSearch

interface MapboxEvSearch

Functions

Link copied to clipboard
abstract suspend fun getEVSEbyId(locationId: String, evseId: String): Either<MapboxEVPlatformError, Evse>
Link copied to clipboard
abstract suspend fun getLocationById(locationId: String): Either<MapboxEVPlatformError, Location>
Link copied to clipboard
abstract suspend fun getLocationConnectorById(locationId: String, evseId: String, connectorId: String): Either<MapboxEVPlatformError, Connector>
Link copied to clipboard
abstract suspend fun searchChargers(quadkeys: List<String>, limit: Int): Either<MapboxEVPlatformError, List<EVSearchResult>>
abstract suspend fun searchChargers(latitude: Double, longitude: Double, limit: Int): Either<MapboxEVPlatformError, List<EVSearchResult>>
abstract suspend fun searchChargers(latitude: Double, longitude: Double, searchRadius: Double, limit: Int): Either<MapboxEVPlatformError, List<EVSearchResult>>