# PortLocationType

Summary:[Constants](https://developer.android.com/reference/android/car/PortLocationType#constants)\|[Inherited Methods](https://developer.android.com/reference/android/car/PortLocationType#inhmethods)  

# PortLocationType

`
public

final

class
PortLocationType
`  
`

extends Object


``


`

|---|------------------------------|
| java.lang.Object                ||
| ↳ | android.car.PortLocationType |

<br />

*** ** * ** ***

Used by INFO_FUEL_DOOR_LOCATION/INFO_CHARGE_PORT_LOCATION to enumerate fuel door or ev port location. Use getProperty and setProperty in[CarPropertyManager](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager)to set and get this VHAL property.

## Summary

|                                                                 ### Constants                                                                  ||
|-------|-----------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [FRONT](https://developer.android.com/reference/android/car/PortLocationType#FRONT) Port is on front of vehicle.                        |
| `int` | [FRONT_LEFT](https://developer.android.com/reference/android/car/PortLocationType#FRONT_LEFT) Port is on front left side of vehicle.    |
| `int` | [FRONT_RIGHT](https://developer.android.com/reference/android/car/PortLocationType#FRONT_RIGHT) Port is on front right side of vehicle. |
| `int` | [REAR](https://developer.android.com/reference/android/car/PortLocationType#REAR) Port is on rear of vehicle.                           |
| `int` | [REAR_LEFT](https://developer.android.com/reference/android/car/PortLocationType#REAR_LEFT) Port is on rear left side of vehicle.       |
| `int` | [REAR_RIGHT](https://developer.android.com/reference/android/car/PortLocationType#REAR_RIGHT) Port is on rear right side of vehicle.    |
| `int` | [UNKNOWN](https://developer.android.com/reference/android/car/PortLocationType#UNKNOWN) List of port location types                     |

| ### Inherited methods |
|-----------------------|---|
| From class` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||

## Constants

### FRONT

```
public static final int FRONT
```

Port is on front of vehicle.

<br />

Constant Value: 5 (0x00000005)  

### FRONT_LEFT

```
public static final int FRONT_LEFT
```

Port is on front left side of vehicle.

<br />

Constant Value: 1 (0x00000001)  

### FRONT_RIGHT

```
public static final int FRONT_RIGHT
```

Port is on front right side of vehicle.

<br />

Constant Value: 2 (0x00000002)  

### REAR

```
public static final int REAR
```

Port is on rear of vehicle.

<br />

Constant Value: 6 (0x00000006)  

### REAR_LEFT

```
public static final int REAR_LEFT
```

Port is on rear left side of vehicle.

<br />

Constant Value: 4 (0x00000004)  

### REAR_RIGHT

```
public static final int REAR_RIGHT
```

Port is on rear right side of vehicle.

<br />

Constant Value: 3 (0x00000003)  

### UNKNOWN

```
public static final int UNKNOWN
```

List of port location types

<br />

Constant Value: 0 (0x00000000)