# FuelType

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

# FuelType

`
public

final

class
FuelType
`  
`

extends Object


``


`

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

<br />

*** ** * ** ***

FuelType denotes the different fuels a vehicle may use.

## Summary

|                                                         ### Constants                                                          ||
|-------|-------------------------------------------------------------------------------------------------------------------------|
| `int` | [BIODIESEL](https://developer.android.com/reference/android/car/FuelType#BIODIESEL) Biodiesel                           |
| `int` | [CNG](https://developer.android.com/reference/android/car/FuelType#CNG) Compressed natural gas                          |
| `int` | [DIESEL_1](https://developer.android.com/reference/android/car/FuelType#DIESEL_1) #1 Grade Diesel                       |
| `int` | [DIESEL_2](https://developer.android.com/reference/android/car/FuelType#DIESEL_2) #2 Grade Diesel                       |
| `int` | [E85](https://developer.android.com/reference/android/car/FuelType#E85) 85% ethanol/gasoline blend                      |
| `int` | [ELECTRIC](https://developer.android.com/reference/android/car/FuelType#ELECTRIC) Electric                              |
| `int` | [HYDROGEN](https://developer.android.com/reference/android/car/FuelType#HYDROGEN) Hydrogen fuel cell                    |
| `int` | [LEADED](https://developer.android.com/reference/android/car/FuelType#LEADED) Leaded gasoline                           |
| `int` | [LNG](https://developer.android.com/reference/android/car/FuelType#LNG) Liquified natural gas                           |
| `int` | [LPG](https://developer.android.com/reference/android/car/FuelType#LPG) Liquified petroleum gas                         |
| `int` | [OTHER](https://developer.android.com/reference/android/car/FuelType#OTHER) Fuel type to use when no other types apply. |
| `int` | [UNKNOWN](https://developer.android.com/reference/android/car/FuelType#UNKNOWN) List of Fuel Types from VHAL            |
| `int` | [UNLEADED](https://developer.android.com/reference/android/car/FuelType#UNLEADED) Unleaded gasoline                     |

| ### 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

### BIODIESEL

```
public static final int BIODIESEL
```

Biodiesel

<br />

Constant Value: 5 (0x00000005)  

### CNG

```
public static final int CNG
```

Compressed natural gas

<br />

Constant Value: 8 (0x00000008)  

### DIESEL_1

```
public static final int DIESEL_1
```

#1 Grade Diesel

<br />

Constant Value: 3 (0x00000003)  

### DIESEL_2

```
public static final int DIESEL_2
```

#2 Grade Diesel

<br />

Constant Value: 4 (0x00000004)  

### E85

```
public static final int E85
```

85% ethanol/gasoline blend

<br />

Constant Value: 6 (0x00000006)  

### ELECTRIC

```
public static final int ELECTRIC
```

Electric

<br />

Constant Value: 10 (0x0000000a)  

### HYDROGEN

```
public static final int HYDROGEN
```

Hydrogen fuel cell

<br />

Constant Value: 11 (0x0000000b)  

### LEADED

```
public static final int LEADED
```

Leaded gasoline

<br />

Constant Value: 2 (0x00000002)  

### LNG

```
public static final int LNG
```

Liquified natural gas

<br />

Constant Value: 9 (0x00000009)  

### LPG

```
public static final int LPG
```

Liquified petroleum gas

<br />

Constant Value: 7 (0x00000007)  

### OTHER

```
public static final int OTHER
```

Fuel type to use when no other types apply. Before using this value, work with Google to see if the FuelType enum can be extended with an appropriate value.

<br />

Constant Value: 12 (0x0000000c)  

### UNKNOWN

```
public static final int UNKNOWN
```

List of Fuel Types from VHAL

<br />

Constant Value: 0 (0x00000000)  

### UNLEADED

```
public static final int UNLEADED
```

Unleaded gasoline

<br />

Constant Value: 1 (0x00000001)