# android.car

# android.car

## Interfaces

|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
| [Car.CarServiceLifecycleListener](https://developer.android.com/reference/android/car/Car.CarServiceLifecycleListener)                                                 | Callback to notify the Lifecycle of car service.                                             |
| [CarAppFocusManager.OnAppFocusChangedListener](https://developer.android.com/reference/android/car/CarAppFocusManager.OnAppFocusChangedListener)                       | Listener to get notification for app getting information on application type status changes. |
| [CarAppFocusManager.OnAppFocusOwnershipCallback](https://developer.android.com/reference/android/car/CarAppFocusManager.OnAppFocusOwnershipCallback)                   | Listener to get notification for app getting information on app type ownership loss.         |
| [CarOccupantZoneManager.OccupantZoneConfigChangeListener](https://developer.android.com/reference/android/car/CarOccupantZoneManager.OccupantZoneConfigChangeListener) | Listener to monitor any Occupant Zone configuration change.                                  |

## Classes

|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ApiVersion](https://developer.android.com/reference/android/car/ApiVersion)\<T extends[ApiVersion](https://developer.android.com/reference/android/car/ApiVersion)\<?\>\> | Abstraction of Android APIs.                                                                                                                                                                                                                                                                                                                      |
| [Car](https://developer.android.com/reference/android/car/Car)                                                                                                             | Top level car API for Android Automotive OS deployments.                                                                                                                                                                                                                                                                                          |
| [CarAppFocusManager](https://developer.android.com/reference/android/car/CarAppFocusManager)                                                                               | CarAppFocusManager allows applications to set and listen for the current application focus like active navigation or active voice command.                                                                                                                                                                                                        |
| [CarInfoManager](https://developer.android.com/reference/android/car/CarInfoManager)                                                                                       | *This class is deprecated. Use[CarPropertyManager](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager)instead.*                                                                                                                                                                                             |
| [CarOccupantZoneManager](https://developer.android.com/reference/android/car/CarOccupantZoneManager)                                                                       | API to get information on displays and users in the car.                                                                                                                                                                                                                                                                                          |
| [CarOccupantZoneManager.OccupantZoneInfo](https://developer.android.com/reference/android/car/CarOccupantZoneManager.OccupantZoneInfo)                                     | Represents an occupant zone in a car.                                                                                                                                                                                                                                                                                                             |
| [CarVersion](https://developer.android.com/reference/android/car/CarVersion)                                                                                               | Represents the API version of the`Car`SDK.                                                                                                                                                                                                                                                                                                        |
| [CarVersion.VERSION_CODES](https://developer.android.com/reference/android/car/CarVersion.VERSION_CODES)                                                                   | Contains pre-defined versions matching Car releases.                                                                                                                                                                                                                                                                                              |
| [EvConnectorType](https://developer.android.com/reference/android/car/EvConnectorType)                                                                                     | *This class is deprecated. Use[EvChargingConnectorType](https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType)as the return value of[CarPropertyManager.getProperty(int, int)](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager#getProperty(int,%20int))instead.* |
| [FuelType](https://developer.android.com/reference/android/car/FuelType)                                                                                                   | FuelType denotes the different fuels a vehicle may use.                                                                                                                                                                                                                                                                                           |
| [GsrComplianceType](https://developer.android.com/reference/android/car/GsrComplianceType)                                                                                 | Used by[VehiclePropertyIds.GENERAL_SAFETY_REGULATION_COMPLIANCE](https://developer.android.com/reference/android/car/VehiclePropertyIds#GENERAL_SAFETY_REGULATION_COMPLIANCE)to indicate what kind of general safety regulation compliance requirement is enforced.                                                                               |
| [PlatformVersion](https://developer.android.com/reference/android/car/PlatformVersion)                                                                                     | Represents the API version of the standard Android SDK.                                                                                                                                                                                                                                                                                           |
| [PlatformVersion.VERSION_CODES](https://developer.android.com/reference/android/car/PlatformVersion.VERSION_CODES)                                                         | Contains pre-defined versions matching Car releases.                                                                                                                                                                                                                                                                                              |
| [PortLocationType](https://developer.android.com/reference/android/car/PortLocationType)                                                                                   | Used by INFO_FUEL_DOOR_LOCATION/INFO_CHARGE_PORT_LOCATION to enumerate fuel door or ev port location.                                                                                                                                                                                                                                             |
| [VehicleAreaSeat](https://developer.android.com/reference/android/car/VehicleAreaSeat)                                                                                     | Object used to indicate the area value for car properties which have area type[VehicleAreaType.VEHICLE_AREA_TYPE_SEAT](https://developer.android.com/reference/android/car/VehicleAreaType#VEHICLE_AREA_TYPE_SEAT).                                                                                                                               |
| [VehicleAreaType](https://developer.android.com/reference/android/car/VehicleAreaType)                                                                                     | List of different supported area types for vehicle properties.                                                                                                                                                                                                                                                                                    |
| [VehicleAreaWheel](https://developer.android.com/reference/android/car/VehicleAreaWheel)                                                                                   | Object used to indicate area value for car properties which have area type[VehicleAreaType.VEHICLE_AREA_TYPE_WHEEL](https://developer.android.com/reference/android/car/VehicleAreaType#VEHICLE_AREA_TYPE_WHEEL).                                                                                                                                 |
| [VehicleGear](https://developer.android.com/reference/android/car/VehicleGear)                                                                                             | List of enums for vehicle gears.                                                                                                                                                                                                                                                                                                                  |
| [VehicleIgnitionState](https://developer.android.com/reference/android/car/VehicleIgnitionState)                                                                           | Possible states of a vehicle's ignition.                                                                                                                                                                                                                                                                                                          |
| [VehiclePropertyIds](https://developer.android.com/reference/android/car/VehiclePropertyIds)                                                                               | List of vehicle property IDs.                                                                                                                                                                                                                                                                                                                     |
| [VehicleUnit](https://developer.android.com/reference/android/car/VehicleUnit)                                                                                             | Units used for int or float[VehiclePropertyIds](https://developer.android.com/reference/android/car/VehiclePropertyIds)with no attached enum types.                                                                                                                                                                                               |

## Exceptions

|--------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|
| [CarNotConnectedException](https://developer.android.com/reference/android/car/CarNotConnectedException)                 | *This class is deprecated. No longer thrown by the Android API. Do not use in new code.*  |
| [PlatformVersionMismatchException](https://developer.android.com/reference/android/car/PlatformVersionMismatchException) | Exception thrown when an App tries to calls an API not supported in the platform version. |

-

  ## Interfaces

  - [Car.CarServiceLifecycleListener](https://developer.android.com/reference/android/car/Car.CarServiceLifecycleListener)
  - [CarAppFocusManager.OnAppFocusChangedListener](https://developer.android.com/reference/android/car/CarAppFocusManager.OnAppFocusChangedListener)
  - [CarAppFocusManager.OnAppFocusOwnershipCallback](https://developer.android.com/reference/android/car/CarAppFocusManager.OnAppFocusOwnershipCallback)
  - [CarOccupantZoneManager.OccupantZoneConfigChangeListener](https://developer.android.com/reference/android/car/CarOccupantZoneManager.OccupantZoneConfigChangeListener)
-

  ## Classes

  - [ApiVersion](https://developer.android.com/reference/android/car/ApiVersion)
  - [Car](https://developer.android.com/reference/android/car/Car)
  - [CarAppFocusManager](https://developer.android.com/reference/android/car/CarAppFocusManager)
  - [CarInfoManager](https://developer.android.com/reference/android/car/CarInfoManager)
  - [CarOccupantZoneManager](https://developer.android.com/reference/android/car/CarOccupantZoneManager)
  - [CarOccupantZoneManager.OccupantZoneInfo](https://developer.android.com/reference/android/car/CarOccupantZoneManager.OccupantZoneInfo)
  - [CarVersion](https://developer.android.com/reference/android/car/CarVersion)
  - [CarVersion.VERSION_CODES](https://developer.android.com/reference/android/car/CarVersion.VERSION_CODES)
  - [EvConnectorType](https://developer.android.com/reference/android/car/EvConnectorType)
  - [FuelType](https://developer.android.com/reference/android/car/FuelType)
  - [GsrComplianceType](https://developer.android.com/reference/android/car/GsrComplianceType)
  - [PlatformVersion](https://developer.android.com/reference/android/car/PlatformVersion)
  - [PlatformVersion.VERSION_CODES](https://developer.android.com/reference/android/car/PlatformVersion.VERSION_CODES)
  - [PortLocationType](https://developer.android.com/reference/android/car/PortLocationType)
  - [VehicleAreaSeat](https://developer.android.com/reference/android/car/VehicleAreaSeat)
  - [VehicleAreaType](https://developer.android.com/reference/android/car/VehicleAreaType)
  - [VehicleAreaWheel](https://developer.android.com/reference/android/car/VehicleAreaWheel)
  - [VehicleGear](https://developer.android.com/reference/android/car/VehicleGear)
  - [VehicleIgnitionState](https://developer.android.com/reference/android/car/VehicleIgnitionState)
  - [VehiclePropertyIds](https://developer.android.com/reference/android/car/VehiclePropertyIds)
  - [VehicleUnit](https://developer.android.com/reference/android/car/VehicleUnit)
-

  ## Exceptions

  - [CarNotConnectedException](https://developer.android.com/reference/android/car/CarNotConnectedException)
  - [PlatformVersionMismatchException](https://developer.android.com/reference/android/car/PlatformVersionMismatchException)