setPowerOn

abstract suspend fun setPowerOn(zone: VehicleZone<SeatArea>, on: Boolean)

Sets the power state for a specific zone.

Depending on vehicle implementation, setting the power state to false may mark some vehicle properties unavailable.

Parameters

zone

A set of SeatArea; areas which are not supported by isPowerOn will be ignored.

on

true for turning on otherwise false.