SEAT_BELT_PRETENSIONER_DEPLOYED
What it is
Seat belt pretensioner deployed.
Property to relay information on whether the seat belt pretensioner has been deployed for a particular seat due to a collision. This is different from the regular seat belt tightening system that continuously adds tension to the seat belts so that they fit snugly around the person sitting in the seat, nor is it the seat belt retractor system that locks the seat belt in place during sudden brakes or when the user jerks the seat belt.
If this property is dependant on the state of other properties, and those properties are currently in the state that doesn't support this property, this should return StatusCode#NOT_AVAILABLE
How the ID is built
A property ID is a 32-bit value packing four fields. Reading 0x15200ba6 apart:
| Field | Mask | Value | Means |
|---|---|---|---|
| Group | 0xf0000000 | 0x10000000 | SYSTEM |
| Area | 0x0f000000 | 0x05000000 | SEAT |
| Type | 0x00ff0000 | 0x00200000 | BOOLEAN |
| Ordinal | 0x0000ffff | 0x00000ba6 | 0xba6 |
Reading it from an app
CarPropertyManager mgr = (CarPropertyManager)
car.getCarManager(Car.PROPERTY_SERVICE);
boolean value =
mgr.getBooleanProperty(VehiclePropertyIds.SEAT_BELT_PRETENSIONER_DEPLOYED, areaId);This property is read-only — writes are rejected. It fires a callback whenever the value changes.

