Skip to content
Vehicle properties
Vehicle information

INFO_MULTI_EV_PORT_LOCATIONS

What it is

Multiple EV port locations

Implement this property if the vehicle has multiple EV ports. Port locations are defined in PortLocationType. For example, a car has one port in front left and one port in rear left: int32Values[0] = PortLocationType::FRONT_LEFT int32Values[1] = PortLocationType::REAR_LEFT

If only one port exists on the vehicle, this property's value should list just one element. See INFO_EV_PORT_LOCATION for describing just one port location.

How the ID is built

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

FieldMaskValueMeans
Group0xf00000000x10000000SYSTEM
Area0x0f0000000x01000000GLOBAL
Type0x00ff00000x00410000INT32_VEC
Ordinal0x0000ffff0x0000010c0x10c

Reading it from an app

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

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