Skip to content
Vehicle properties
Vehicle Map Service

VEHICLE_MAP_SERVICE

What it is

Vehicle Maps Service (VMS) message

This property uses MIXED data to communicate vms messages.

Its contents are to be interpreted as follows: the indices defined in VmsMessageIntegerValuesIndex are to be used to read from int32Values; bytes is a serialized VMS message as defined in the vms protocol which is opaque to the framework;

IVehicle#get must always return StatusCode::NOT_AVAILABLE.

How the ID is built

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

FieldMaskValueMeans
Group0xf00000000x10000000SYSTEM
Area0x0f0000000x01000000GLOBAL
Type0x00ff00000x00e00000MIXED
Ordinal0x0000ffff0x00000c000xc00

Reading it from an app

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

CarPropertyValue<Object> value =
        mgr.getProperty(VehiclePropertyIds.VEHICLE_MAP_SERVICE, 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.