getZone

fun getZone(area: VehicleArea): VehicleZone<A>?

Returns the first supported VehicleZone that contains the given VehicleArea.

Return

The first VehicleZone that the given area is part of; null otherwise.

Parameters

area

The VehicleArea to get the zone for, for example FrontWindowArea.