Skip to content
Vehicle properties
Seatsdeprecated

SEAT_HEADREST_HEIGHT_POS

What it is

(Deprecated) Headrest height position

This property is deprecated because it is defined as type VehicleArea:GLOBAL, which means all seats use the same value. Use SEAT_HEADREST_HEIGHT_POS_V2 instead which fixes this issue by being defined as type VehicleArea:SEAT.

Sets the headrest height. Max value indicates tallest setting. Min value indicates shortest setting.

This property is defined as VehiclePropertyAccess.READ_WRITE, but OEMs have the option to implement it as VehiclePropertyAccess.READ only.

How the ID is built

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

FieldMaskValueMeans
Group0xf00000000x10000000SYSTEM
Area0x0f0000000x01000000GLOBAL
Type0x00ff00000x00400000INT32
Ordinal0x0000ffff0x00000b950xb95

Reading it from an app

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

int value =
        mgr.getIntProperty(VehiclePropertyIds.SEAT_HEADREST_HEIGHT_POS, 0);

This property can be read and written, though an OEM may implement it as read-only. It fires a callback whenever the value changes.