# CarInfoManager

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

# CarInfoManager

`
public

final

class
CarInfoManager
`  
`

extends Object


``


`

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

<br />

*** ** * ** ***

<br />

**This class is deprecated.**   
Use[CarPropertyManager](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager)instead.

Utility to retrieve various static information from car. Each data are grouped as[Bundle](https://developer.android.com/reference/android/os/Bundle)and relevant data can be checked from[Bundle](https://developer.android.com/reference/android/os/Bundle)using pre-specified keys.

## Summary

|                                                                                                                                 ### Public methods                                                                                                                                 ||
|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` int`    | ` `[getDriverSeat](https://developer.android.com/reference/android/car/CarInfoManager#getDriverSeat())`() `                                                                                                                                                             |
| ` float`  | ` `[getEvBatteryCapacity](https://developer.android.com/reference/android/car/CarInfoManager#getEvBatteryCapacity())`() `                                                                                                                                               |
| ` int[]`  | ` `[getEvConnectorTypes](https://developer.android.com/reference/android/car/CarInfoManager#getEvConnectorTypes())`() `                                                                                                                                                 |
| ` int`    | ` `[getEvPortLocation](https://developer.android.com/reference/android/car/CarInfoManager#getEvPortLocation())`() `                                                                                                                                                     |
| ` float`  | ` `[getFuelCapacity](https://developer.android.com/reference/android/car/CarInfoManager#getFuelCapacity())`() `                                                                                                                                                         |
| ` int`    | ` `[getFuelDoorLocation](https://developer.android.com/reference/android/car/CarInfoManager#getFuelDoorLocation())`() `                                                                                                                                                 |
| ` int[]`  | ` `[getFuelTypes](https://developer.android.com/reference/android/car/CarInfoManager#getFuelTypes())`() `                                                                                                                                                               |
| ` String` | ` `[getManufacturer](https://developer.android.com/reference/android/car/CarInfoManager#getManufacturer())`() `                                                                                                                                                         |
| ` String` | ` `[getModel](https://developer.android.com/reference/android/car/CarInfoManager#getModel())`() `                                                                                                                                                                       |
| ` String` | ` `[getModelYear](https://developer.android.com/reference/android/car/CarInfoManager#getModelYear())`() ` *This method is deprecated. Use[getModelYearInInteger()](https://developer.android.com/reference/android/car/CarInfoManager#getModelYearInInteger())instead.* |
| ` int`    | ` `[getModelYearInInteger](https://developer.android.com/reference/android/car/CarInfoManager#getModelYearInInteger())`() `                                                                                                                                             |
| ` String` | ` `[getVehicleId](https://developer.android.com/reference/android/car/CarInfoManager#getVehicleId())`() ` *This method is deprecated. no support for car's identifier*                                                                                                  |

| ### 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() `                    | ||

## Public methods

### getDriverSeat

```
public int getDriverSeat ()
```

<br />

<br />

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ||
|-------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | Driver seat's location. Returns[VehicleAreaSeat.SEAT_UNKNOWN](https://developer.android.com/reference/android/car/VehicleAreaSeat#SEAT_UNKNOWN)if the sensor is not available. Value is[VehicleAreaSeat.SEAT_UNKNOWN](https://developer.android.com/reference/android/car/VehicleAreaSeat#SEAT_UNKNOWN),[VehicleAreaSeat.SEAT_ROW_1_LEFT](https://developer.android.com/reference/android/car/VehicleAreaSeat#SEAT_ROW_1_LEFT),[VehicleAreaSeat.SEAT_ROW_1_CENTER](https://developer.android.com/reference/android/car/VehicleAreaSeat#SEAT_ROW_1_CENTER),[VehicleAreaSeat.SEAT_ROW_1_RIGHT](https://developer.android.com/reference/android/car/VehicleAreaSeat#SEAT_ROW_1_RIGHT),[VehicleAreaSeat.SEAT_ROW_2_LEFT](https://developer.android.com/reference/android/car/VehicleAreaSeat#SEAT_ROW_2_LEFT),[VehicleAreaSeat.SEAT_ROW_2_CENTER](https://developer.android.com/reference/android/car/VehicleAreaSeat#SEAT_ROW_2_CENTER),[VehicleAreaSeat.SEAT_ROW_2_RIGHT](https://developer.android.com/reference/android/car/VehicleAreaSeat#SEAT_ROW_2_RIGHT),[VehicleAreaSeat.SEAT_ROW_3_LEFT](https://developer.android.com/reference/android/car/VehicleAreaSeat#SEAT_ROW_3_LEFT),[VehicleAreaSeat.SEAT_ROW_3_CENTER](https://developer.android.com/reference/android/car/VehicleAreaSeat#SEAT_ROW_3_CENTER), or[VehicleAreaSeat.SEAT_ROW_3_RIGHT](https://developer.android.com/reference/android/car/VehicleAreaSeat#SEAT_ROW_3_RIGHT) <br /> |

### getEvBatteryCapacity

```
public float getEvBatteryCapacity ()
```

<br />

<br />

|                                                Returns                                                ||
|---------|----------------------------------------------------------------------------------------------|
| `float` | Battery capacity of the car in Watt-Hour(Wh). Return 0 if car doesn't run on battery. <br /> |

### getEvConnectorTypes

```
public int[] getEvConnectorTypes ()
```

<br />

<br />

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ||
|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int[]` | Array of EV_CONNECTOR_TYPEs available in the car. Empty array if no connector types available. Value is[EvConnectorType.UNKNOWN](https://developer.android.com/reference/android/car/EvConnectorType#UNKNOWN),[EvConnectorType.J1772](https://developer.android.com/reference/android/car/EvConnectorType#J1772),[EvConnectorType.MENNEKES](https://developer.android.com/reference/android/car/EvConnectorType#MENNEKES),[EvConnectorType.CHADEMO](https://developer.android.com/reference/android/car/EvConnectorType#CHADEMO),[EvConnectorType.COMBO_1](https://developer.android.com/reference/android/car/EvConnectorType#COMBO_1),[EvConnectorType.COMBO_2](https://developer.android.com/reference/android/car/EvConnectorType#COMBO_2),[EvConnectorType.TESLA_ROADSTER](https://developer.android.com/reference/android/car/EvConnectorType#TESLA_ROADSTER),[EvConnectorType.TESLA_HPWC](https://developer.android.com/reference/android/car/EvConnectorType#TESLA_HPWC),[EvConnectorType.TESLA_SUPERCHARGER](https://developer.android.com/reference/android/car/EvConnectorType#TESLA_SUPERCHARGER),[EvConnectorType.GBT](https://developer.android.com/reference/android/car/EvConnectorType#GBT),[EvConnectorType.GBT_DC](https://developer.android.com/reference/android/car/EvConnectorType#GBT_DC),[EvConnectorType.SCAME](https://developer.android.com/reference/android/car/EvConnectorType#SCAME), or[EvConnectorType.OTHER](https://developer.android.com/reference/android/car/EvConnectorType#OTHER) <br /> |

### getEvPortLocation

```
public int getEvPortLocation ()
```

<br />

<br />

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ||
|-------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | EV port location of the car. Returns[PortLocationType.UNKNOWN](https://developer.android.com/reference/android/car/PortLocationType#UNKNOWN)if the sensor is not available. Value is[PortLocationType.UNKNOWN](https://developer.android.com/reference/android/car/PortLocationType#UNKNOWN),[PortLocationType.FRONT_LEFT](https://developer.android.com/reference/android/car/PortLocationType#FRONT_LEFT),[PortLocationType.FRONT_RIGHT](https://developer.android.com/reference/android/car/PortLocationType#FRONT_RIGHT),[PortLocationType.REAR_LEFT](https://developer.android.com/reference/android/car/PortLocationType#REAR_LEFT),[PortLocationType.REAR_RIGHT](https://developer.android.com/reference/android/car/PortLocationType#REAR_RIGHT),[PortLocationType.FRONT](https://developer.android.com/reference/android/car/PortLocationType#FRONT), or[PortLocationType.REAR](https://developer.android.com/reference/android/car/PortLocationType#REAR) <br /> |

### getFuelCapacity

```
public float getFuelCapacity ()
```

<br />

<br />

|                                        Returns                                         ||
|---------|-------------------------------------------------------------------------------|
| `float` | Fuel capacity of the car in milliliters. 0 if car doesn't run on fuel. <br /> |

### getFuelDoorLocation

```
public int getFuelDoorLocation ()
```

<br />

<br />

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ||
|-------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | Fuel door location of the car.Returns[PortLocationType.UNKNOWN](https://developer.android.com/reference/android/car/PortLocationType#UNKNOWN)if the sensor is not available. Value is[PortLocationType.UNKNOWN](https://developer.android.com/reference/android/car/PortLocationType#UNKNOWN),[PortLocationType.FRONT_LEFT](https://developer.android.com/reference/android/car/PortLocationType#FRONT_LEFT),[PortLocationType.FRONT_RIGHT](https://developer.android.com/reference/android/car/PortLocationType#FRONT_RIGHT),[PortLocationType.REAR_LEFT](https://developer.android.com/reference/android/car/PortLocationType#REAR_LEFT),[PortLocationType.REAR_RIGHT](https://developer.android.com/reference/android/car/PortLocationType#REAR_RIGHT),[PortLocationType.FRONT](https://developer.android.com/reference/android/car/PortLocationType#FRONT), or[PortLocationType.REAR](https://developer.android.com/reference/android/car/PortLocationType#REAR) <br /> |

### getFuelTypes

```
public int[] getFuelTypes ()
```

<br />

<br />

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ||
|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int[]` | Array of FUEL_TYPEs available in the car. Empty array if no fuel types available. Value is[FuelType.UNKNOWN](https://developer.android.com/reference/android/car/FuelType#UNKNOWN),[FuelType.UNLEADED](https://developer.android.com/reference/android/car/FuelType#UNLEADED),[FuelType.LEADED](https://developer.android.com/reference/android/car/FuelType#LEADED),[FuelType.DIESEL_1](https://developer.android.com/reference/android/car/FuelType#DIESEL_1),[FuelType.DIESEL_2](https://developer.android.com/reference/android/car/FuelType#DIESEL_2),[FuelType.BIODIESEL](https://developer.android.com/reference/android/car/FuelType#BIODIESEL),[FuelType.E85](https://developer.android.com/reference/android/car/FuelType#E85),[FuelType.LPG](https://developer.android.com/reference/android/car/FuelType#LPG),[FuelType.CNG](https://developer.android.com/reference/android/car/FuelType#CNG),[FuelType.LNG](https://developer.android.com/reference/android/car/FuelType#LNG),[FuelType.ELECTRIC](https://developer.android.com/reference/android/car/FuelType#ELECTRIC),[FuelType.HYDROGEN](https://developer.android.com/reference/android/car/FuelType#HYDROGEN), or[FuelType.OTHER](https://developer.android.com/reference/android/car/FuelType#OTHER) <br /> |

### getManufacturer

```
public String getManufacturer ()
```

<br />

<br />

|                              Returns                              ||
|----------|---------------------------------------------------------|
| `String` | Manufacturer of the car. Empty if not available. <br /> |

### getModel

```
public String getModel ()
```

<br />

<br />

|                                                                                                          Returns                                                                                                           ||
|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `String` | Model name of the car, empty if not available. This information may not necessarily allow distinguishing different car models as the same name may be used for different cars depending on manufacturers. <br /> |

### getModelYear

```
public String getModelYear ()
```

<br />

**This method is deprecated.**   
Use[getModelYearInInteger()](https://developer.android.com/reference/android/car/CarInfoManager#getModelYearInInteger())instead.

<br />

<br />

|                                Returns                                ||
|----------|-------------------------------------------------------------|
| `String` | Model year of the car in AD. Empty if not available. <br /> |

### getModelYearInInteger

```
public int getModelYearInInteger ()
```

<br />

<br />

|                            Returns                             ||
|-------|---------------------------------------------------------|
| `int` | Model year of the car in AD. 0 if not available. <br /> |

### getVehicleId

```
public String getVehicleId ()
```

<br />

**This method is deprecated.**   
no support for car's identifier

<br />

<br />

|                   Returns                    ||
|----------|------------------------------------|
| `String` | always return empty string. <br /> |