Google is committed to advancing racial equity for Black communities. See how.

VehicleGear

public final class VehicleGear
extends Object

java.lang.Object
   ↳ android.car.VehicleGear


List of enums for vehicle gears.

Summary

Constants

int GEAR_DRIVE

int GEAR_EIGHTH

int GEAR_FIFTH

int GEAR_FIRST

int GEAR_FOURTH

int GEAR_NEUTRAL

int GEAR_NINTH

int GEAR_PARK

int GEAR_REVERSE

int GEAR_SECOND

int GEAR_SEVENTH

int GEAR_SIXTH

int GEAR_THIRD

int GEAR_UNKNOWN

GEAR_* represents meaning of value for VehiclePropertyIds#GEAR_SELECTION and VehiclePropertyIds#CURRENT_GEAR.

Public methods

static String toString(int o)

Inherited methods

Constants

GEAR_DRIVE

public static final int GEAR_DRIVE

Constant Value: 8 (0x00000008)

GEAR_EIGHTH

public static final int GEAR_EIGHTH

Constant Value: 2048 (0x00000800)

GEAR_FIFTH

public static final int GEAR_FIFTH

Constant Value: 256 (0x00000100)

GEAR_FIRST

public static final int GEAR_FIRST

Constant Value: 16 (0x00000010)

GEAR_FOURTH

public static final int GEAR_FOURTH

Constant Value: 128 (0x00000080)

GEAR_NEUTRAL

public static final int GEAR_NEUTRAL

Constant Value: 1 (0x00000001)

GEAR_NINTH

public static final int GEAR_NINTH

Constant Value: 4096 (0x00001000)

GEAR_PARK

public static final int GEAR_PARK

Constant Value: 4 (0x00000004)

GEAR_REVERSE

public static final int GEAR_REVERSE

Constant Value: 2 (0x00000002)

GEAR_SECOND

public static final int GEAR_SECOND

Constant Value: 32 (0x00000020)

GEAR_SEVENTH

public static final int GEAR_SEVENTH

Constant Value: 1024 (0x00000400)

GEAR_SIXTH

public static final int GEAR_SIXTH

Constant Value: 512 (0x00000200)

GEAR_THIRD

public static final int GEAR_THIRD

Constant Value: 64 (0x00000040)

GEAR_UNKNOWN

public static final int GEAR_UNKNOWN

GEAR_* represents meaning of value for VehiclePropertyIds#GEAR_SELECTION and VehiclePropertyIds#CURRENT_GEAR. VehicleGear#GEAR_PARK and VehicleGear#GEAR_DRIVE only apply to the VehiclePropertyIds#GEAR_SELECTION property for a vehicle with an automatic transmission.

Constant Value: 0 (0x00000000)

Public methods

toString

public static String toString (int o)

Parameters
o int: Integer

Returns
String String