EVCoreApi

Constructors

Link copied to clipboard
constructor(searchClient: MapboxEVSearchClientApi, platformClient: MapboxEVPlatformClientApi)

Functions

Link copied to clipboard
open override fun closeConfirmSessionFlow()
Link copied to clipboard
open override fun closeStartSessionFlow()
Link copied to clipboard
open suspend override fun confirmChargingSessionStarted(sessionId: String): Flow<Expected<MapboxEVError, ConfirmSessionResponse>>
Link copied to clipboard
open suspend override fun getLocationById(stationId: String): Expected<MapboxEVError, EVCoreStation>
Link copied to clipboard
open suspend override fun searchChargers(points: List<Point>, options: EvSearchOptions): List<EVCoreSearchResult>
open suspend override fun searchChargers(latitude: Double, longitude: Double, options: EvSearchOptions): List<EVCoreSearchResult>
Link copied to clipboard
open suspend override fun startChargingSession(locationId: String, evseId: String): Flow<Expected<MapboxEVError, SessionResponse>>