One Logo Pool Ball
EnergyKit · IOS API REFERENCE

ElectricVehicleLoadEvent.ElectricalMeasurement.PerformanceMetrics

struct · iOS 27.0+ · SDK 27.1

struct PerformanceMetrics

Performance metrics for the current electrical measurement.

Members (3)

get · iOS 27.0+

estimatedRange

TypeScript
get estimatedRange(): (_Foundation_Measurement<_Foundation_UnitLength>) | null
Swift declaration
let estimatedRange: Measurement<UnitLength>?

Estimated range based on current state of charge

init · iOS 27.0+

init

TypeScript
static init(estimatedRange?: (_Foundation_Measurement<_Foundation_UnitLength>) | null, batteryTemperature?: (_Foundation_Measurement<_Foundation_UnitTemperature>) | null): ElectricVehicleLoadEvent_ElectricalMeasurement_PerformanceMetrics
Swift declaration
init(estimatedRange: Measurement<UnitLength>? = nil, batteryTemperature: Measurement<UnitTemperature>? = nil)

Creates performance metrics for the current measurement. - Parameters: - estimatedRange: Current estimated range, or `nil` if unavailable - batteryTemperature: Current battery temperature, or `nil` if unavailable

get · iOS 27.0+

batteryTemperature

TypeScript
get batteryTemperature(): (_Foundation_Measurement<_Foundation_UnitTemperature>) | null
Swift declaration
let batteryTemperature: Measurement<UnitTemperature>?

Battery pack temperature, or `nil` if unavailable.

Skipped declarations

No declarations were skipped in this snapshot.

All EnergyKit types →