PortLocationType

public final class PortLocationType
extends Object

java.lang.Object
   ↳ android.car.PortLocationType


Used by INFO_FUEL_DOOR_LOCATION/INFO_CHARGE_PORT_LOCATION to enumerate fuel door or ev port location. Use getProperty and setProperty in CarPropertyManager to set and get this VHAL property.

Summary

Constants

int FRONT

Port is on front of vehicle.

int FRONT_LEFT

Port is on front left side of vehicle.

int FRONT_RIGHT

Port is on front right side of vehicle.

int REAR

Port is on rear of vehicle.

int REAR_LEFT

Port is on rear left side of vehicle.

int REAR_RIGHT

Port is on rear right side of vehicle.

int UNKNOWN

List of port location types

Inherited methods

Constants

FRONT

Added in API level 29
public static final int FRONT

Port is on front of vehicle.

Constant Value: 5 (0x00000005)

FRONT_LEFT

Added in API level 29
public static final int FRONT_LEFT

Port is on front left side of vehicle.

Constant Value: 1 (0x00000001)

FRONT_RIGHT

Added in API level 29
public static final int FRONT_RIGHT

Port is on front right side of vehicle.

Constant Value: 2 (0x00000002)

REAR

Added in API level 29
public static final int REAR

Port is on rear of vehicle.

Constant Value: 6 (0x00000006)

REAR_LEFT

Added in API level 29
public static final int REAR_LEFT

Port is on rear left side of vehicle.

Constant Value: 4 (0x00000004)

REAR_RIGHT

Added in API level 29
public static final int REAR_RIGHT

Port is on rear right side of vehicle.

Constant Value: 3 (0x00000003)

UNKNOWN

Added in API level 29
public static final int UNKNOWN

List of port location types

Constant Value: 0 (0x00000000)