setMaximumPower(_:for:)
Sets the maximum power for a specific type of charging connector.
Declaration
func setMaximumPower(_ power: Measurement<UnitPower>, for chargingConnectorType: INCar.ChargingConnectorType)Parameters
- power:
The maximum power in watts that the charging connector supports.
- chargingConnectorType:
The type of charging connector to update. See Chargingconnectortype for the types of charging connectors the system supports.
Discussion
Call this method for each type of charging connector the electric vehicle supports.