create

fun create(vehicle: Vehicle = Vehicle.Car(combustionEngine = CombustionEngine())): VehicleProvider

Creates VehicleProvider with default configuration.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

vehicle

Vehicle used for setting the initial state. Default value is a combustion engine non-commercial car.

See also