MapGptEVSearchContextProvider
class MapGptEVSearchContextProvider(contextOverrides: MapGptContextOverrides, evCore: EVCoreClient, isElectricVehicle: IsElectricVehicle, unitOfMeasurementsUseCase: ObserveUserPreferredUnitOfMeasurementsUseCase) : UIComponent, EVGptSearchResultProvider
This class is used to provide nearby EV stations in the GPT context. It will monitor location updates and as the driver progresses a call will be made to the EV search service to get the closest stations and cache them for future use in the app.
Constructors
Link copied to clipboard
constructor(contextOverrides: MapGptContextOverrides, evCore: EVCoreClient, isElectricVehicle: IsElectricVehicle, unitOfMeasurementsUseCase: ObserveUserPreferredUnitOfMeasurementsUseCase)