Vehicle properties
Seats
SEAT_MEMORY_SELECT
What it is
Seat memory select
This parameter selects the memory preset to use to select the seat position. The maxInt32Value and minInt32Value in VehicleAreaConfig must be defined. All integers between minInt32Value and maxInt32Value must be supported. The minInt32Value is always 0, and the maxInt32Value determines the number of seat preset memory slots available (i.e. numSeatPresets - 1).
For instance, if the driver's seat has 3 memory presets, the maxInt32Value will be 2. When the user wants to select a preset, the desired preset number (0, 1, or 2) is set.
How the ID is built
A property ID is a 32-bit value packing four fields. Reading 0x15400b80 apart:
| Field | Mask | Value | Means |
|---|---|---|---|
| Group | 0xf0000000 | 0x10000000 | SYSTEM |
| Area | 0x0f000000 | 0x05000000 | SEAT |
| Type | 0x00ff0000 | 0x00400000 | INT32 |
| Ordinal | 0x0000ffff | 0x00000b80 | 0xb80 |
Reading it from an app
CarPropertyManager mgr = (CarPropertyManager)
car.getCarManager(Car.PROPERTY_SERVICE);
mgr.setProperty(Integer.class,
VehiclePropertyIds.SEAT_MEMORY_SELECT, areaId, value);This property is write-only — it cannot be read back. It fires a callback whenever the value changes.

