Energy

data class Energy(val budget: Energy) : Budget

An energy budget.

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

Parameters

budget

The maximum amount of electric energy that may be used, e.g. in kilowatt hours. This is only valid for a Vehicle that has an ElectricEngine.

Constructors

Link copied to clipboard
constructor(budget: Energy)

Properties

Link copied to clipboard