Skip to content
Vehicle properties
Lights

READING_LIGHTS_STATE

What it is

Reading lights

Return current status of reading lights.

How the ID is built

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

FieldMaskValueMeans
Group0xf00000000x10000000SYSTEM
Area0x0f0000000x05000000SEAT
Type0x00ff00000x00400000INT32
Ordinal0x0000ffff0x00000f030xf03

Reading it from an app

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

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

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