# VehicleGear

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

# VehicleGear

`
public

final

class
VehicleGear
`  
`

extends Object


``


`

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

<br />

*** ** * ** ***

List of enums for vehicle gears.

## Summary

|                                                                                                                                                                                          ### Constants                                                                                                                                                                                          ||
|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [GEAR_DRIVE](https://developer.android.com/reference/android/car/VehicleGear#GEAR_DRIVE) <br />                                                                                                                                                                                                                                                                                          |
| `int` | [GEAR_EIGHTH](https://developer.android.com/reference/android/car/VehicleGear#GEAR_EIGHTH) <br />                                                                                                                                                                                                                                                                                        |
| `int` | [GEAR_FIFTH](https://developer.android.com/reference/android/car/VehicleGear#GEAR_FIFTH) <br />                                                                                                                                                                                                                                                                                          |
| `int` | [GEAR_FIRST](https://developer.android.com/reference/android/car/VehicleGear#GEAR_FIRST) <br />                                                                                                                                                                                                                                                                                          |
| `int` | [GEAR_FOURTH](https://developer.android.com/reference/android/car/VehicleGear#GEAR_FOURTH) <br />                                                                                                                                                                                                                                                                                        |
| `int` | [GEAR_NEUTRAL](https://developer.android.com/reference/android/car/VehicleGear#GEAR_NEUTRAL) <br />                                                                                                                                                                                                                                                                                      |
| `int` | [GEAR_NINTH](https://developer.android.com/reference/android/car/VehicleGear#GEAR_NINTH) <br />                                                                                                                                                                                                                                                                                          |
| `int` | [GEAR_PARK](https://developer.android.com/reference/android/car/VehicleGear#GEAR_PARK) <br />                                                                                                                                                                                                                                                                                            |
| `int` | [GEAR_REVERSE](https://developer.android.com/reference/android/car/VehicleGear#GEAR_REVERSE) <br />                                                                                                                                                                                                                                                                                      |
| `int` | [GEAR_SECOND](https://developer.android.com/reference/android/car/VehicleGear#GEAR_SECOND) <br />                                                                                                                                                                                                                                                                                        |
| `int` | [GEAR_SEVENTH](https://developer.android.com/reference/android/car/VehicleGear#GEAR_SEVENTH) <br />                                                                                                                                                                                                                                                                                      |
| `int` | [GEAR_SIXTH](https://developer.android.com/reference/android/car/VehicleGear#GEAR_SIXTH) <br />                                                                                                                                                                                                                                                                                          |
| `int` | [GEAR_THIRD](https://developer.android.com/reference/android/car/VehicleGear#GEAR_THIRD) <br />                                                                                                                                                                                                                                                                                          |
| `int` | [GEAR_UNKNOWN](https://developer.android.com/reference/android/car/VehicleGear#GEAR_UNKNOWN) GEAR_\* represents meaning of value for[VehiclePropertyIds.GEAR_SELECTION](https://developer.android.com/reference/android/car/VehiclePropertyIds#GEAR_SELECTION)and[VehiclePropertyIds.CURRENT_GEAR](https://developer.android.com/reference/android/car/VehiclePropertyIds#CURRENT_GEAR). |

|                                                    ### Public methods                                                    ||
|------------------|--------------------------------------------------------------------------------------------------------|
| ` static String` | ` `[toString](https://developer.android.com/reference/android/car/VehicleGear#toString(int))`(int o) ` |

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

### GEAR_DRIVE

```
public static final int GEAR_DRIVE
```

<br />

<br />

Constant Value: 8 (0x00000008)  

### GEAR_EIGHTH

```
public static final int GEAR_EIGHTH
```

<br />

<br />

Constant Value: 2048 (0x00000800)  

### GEAR_FIFTH

```
public static final int GEAR_FIFTH
```

<br />

<br />

Constant Value: 256 (0x00000100)  

### GEAR_FIRST

```
public static final int GEAR_FIRST
```

<br />

<br />

Constant Value: 16 (0x00000010)  

### GEAR_FOURTH

```
public static final int GEAR_FOURTH
```

<br />

<br />

Constant Value: 128 (0x00000080)  

### GEAR_NEUTRAL

```
public static final int GEAR_NEUTRAL
```

<br />

<br />

Constant Value: 1 (0x00000001)  

### GEAR_NINTH

```
public static final int GEAR_NINTH
```

<br />

<br />

Constant Value: 4096 (0x00001000)  

### GEAR_PARK

```
public static final int GEAR_PARK
```

<br />

<br />

Constant Value: 4 (0x00000004)  

### GEAR_REVERSE

```
public static final int GEAR_REVERSE
```

<br />

<br />

Constant Value: 2 (0x00000002)  

### GEAR_SECOND

```
public static final int GEAR_SECOND
```

<br />

<br />

Constant Value: 32 (0x00000020)  

### GEAR_SEVENTH

```
public static final int GEAR_SEVENTH
```

<br />

<br />

Constant Value: 1024 (0x00000400)  

### GEAR_SIXTH

```
public static final int GEAR_SIXTH
```

<br />

<br />

Constant Value: 512 (0x00000200)  

### GEAR_THIRD

```
public static final int GEAR_THIRD
```

<br />

<br />

Constant Value: 64 (0x00000040)  

### GEAR_UNKNOWN

```
public static final int GEAR_UNKNOWN
```

GEAR_\* represents meaning of value for[VehiclePropertyIds.GEAR_SELECTION](https://developer.android.com/reference/android/car/VehiclePropertyIds#GEAR_SELECTION)and[VehiclePropertyIds.CURRENT_GEAR](https://developer.android.com/reference/android/car/VehiclePropertyIds#CURRENT_GEAR).[VehicleGear.GEAR_PARK](https://developer.android.com/reference/android/car/VehicleGear#GEAR_PARK)and[VehicleGear.GEAR_DRIVE](https://developer.android.com/reference/android/car/VehicleGear#GEAR_DRIVE)only apply to the[VehiclePropertyIds.GEAR_SELECTION](https://developer.android.com/reference/android/car/VehiclePropertyIds#GEAR_SELECTION)property for a vehicle with an automatic transmission.

<br />

Constant Value: 0 (0x00000000)

## Public methods

### toString

```
public static String toString (int o)
```

<br />

<br />

|         Parameters         ||
|-----|-----------------------|
| `o` | `int`: Integer <br /> |

|         Returns         ||
|----------|---------------|
| `String` | String <br /> |