init(estimatedRange:batteryTemperature:)
Creates performance metrics for the current measurement.
Declaration
init(estimatedRange: Measurement<UnitLength>? = nil, batteryTemperature: Measurement<UnitTemperature>? = nil)Parameters
- estimatedRange:
The estimated range of driving distance based on the current energy state, or
nilif an estimate is unavailable. - batteryTemperature:
The battery pack temperature, or
nilif the temperature is unavailable.