VehicleObservation

constructor(vehicle_: Vehicle, api: VehicleApi, pollInterval: Duration = Duration.ofMinutes(5))

Parameters

vehicle_

the vehicle to observe

api

the API client used for status polling

pollInterval

time between successive polls (default: 5 minutes)