Skip to content
Vehicle properties
Seats

SEAT_AIRBAGS_DEPLOYED

What it is

Seat airbags deployed

Bit flag property to relay information on which airbags have been deployed in the vehicle at each seat, vs which ones are currently still armed. If SEAT_AIRBAG_ENABLED is set to false at a particular areaId, this property should return status code UNAVAILABLE at that areaId.

Enums apply to each seat, not the global vehicle. For example, VehicleAirbagsLocation#CURTAIN at the driver seat areaId represents whether the driver side curtain airbag has been deployed. Multiple bit flags can be set to indicate that multiple different airbags have been deployed for the seat.

For each seat area ID, the VehicleAreaConfig#supportedEnumValues array must be defined unless all states of VehicleAirbagLocation are supported (including OTHER, which is not recommended).

How the ID is built

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

FieldMaskValueMeans
Group0xf00000000x10000000SYSTEM
Area0x0f0000000x05000000SEAT
Type0x00ff00000x00400000INT32
Ordinal0x0000ffff0x00000ba50xba5

Reading it from an app

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

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

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