MapboxEvPlatformClient
interface MapboxEvPlatformClient
Functions
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getSessionStatus(sessionId: String): Either<MapboxEVPlatformError, SessionResponse>
Link copied to clipboard
abstract suspend fun getStartSessionStatus(sessionId: String): Either<MapboxEVPlatformError, CommandResponseType>
Link copied to clipboard
abstract suspend fun getStopSessionStatus(sessionId: String): Either<MapboxEVPlatformError, CommandResponseType>
Link copied to clipboard
abstract suspend fun startSession(locationId: String, evseId: String, shouldSimulate: Boolean): Either<MapboxEVPlatformError, SessionCommandResponse>
Link copied to clipboard
abstract suspend fun stopSession(sessionId: String): Either<MapboxEVPlatformError, SessionCommandResponse>