Skip to content
Vehicle properties
Windshield & wipers

WINDSHIELD_WIPERS_PERIOD

What it is

Windshield wipers period (milliseconds).

Returns the instantaneous time period for 1 full cycle of the windshield wipers in milliseconds. A full cycle is defined as a wiper moving from and returning to its rest position.

When an intermittent wiper setting is selected, this property value must be set to 0 during the "pause" period of the intermittent wiping.

The maxInt32Value and minInt32Value in VehicleAreaConfig must be defined. The maxInt32Value for each area ID must specify the longest wiper period. The minInt32Value must be set to 0 for each area ID.

How the ID is built

A property ID is a 32-bit value packing four fields. Reading 0x13400bc5 apart:

FieldMaskValueMeans
Group0xf00000000x10000000SYSTEM
Area0x0f0000000x03000000WINDOW
Type0x00ff00000x00400000INT32
Ordinal0x0000ffff0x00000bc50xbc5

Reading it from an app

CarPropertyManager mgr = (CarPropertyManager)
        car.getCarManager(Car.PROPERTY_SERVICE);

int value =
        mgr.getIntProperty(VehiclePropertyIds.WINDSHIELD_WIPERS_PERIOD, areaId);

This property is read-only — writes are rejected. It fires a callback whenever the value changes.