Vehicle properties
Vehicle information
INFO_MODEL_TRIM
What it is
Public trim name of the vehicle.
This property must communicate the vehicle's public trim name.
For example, say an OEM manufactures two different versions of a vehicle model: "makeName modelName" and "makeName modelName Sport" This property must be empty for the first vehicle (i.e. base model), and set to "Sport" for the second vehicle.
How the ID is built
A property ID is a 32-bit value packing four fields. Reading 0x1110010d apart:
| Field | Mask | Value | Means |
|---|---|---|---|
| Group | 0xf0000000 | 0x10000000 | SYSTEM |
| Area | 0x0f000000 | 0x01000000 | GLOBAL |
| Type | 0x00ff0000 | 0x00100000 | STRING |
| Ordinal | 0x0000ffff | 0x0000010d | 0x10d |
Reading it from an app
CarPropertyManager mgr = (CarPropertyManager)
car.getCarManager(Car.PROPERTY_SERVICE);
CarPropertyValue<String> value =
mgr.getProperty(VehiclePropertyIds.INFO_MODEL_TRIM, 0);This property is read-only — writes are rejected. It is static for the life of the vehicle, so read it once and cache it.

