Android Developers Develop Reference Stay organized with collections Save and categorize content based on your preferences. Added in API level 29 android.car Interfaces Car.CarServiceLifecycleListener Callback to notify the Lifecycle of car service. CarAppFocusManager.OnAppFocusChangedListener Listener to get notification for app getting information on application type status changes. CarAppFocusManager.OnAppFocusOwnershipCallback Listener to get notification for app getting information on app type ownership loss. CarOccupantZoneManager.OccupantZoneConfigChangeListener Listener to monitor any Occupant Zone configuration change. Classes ApiVersion <T extends ApiVersion <?>> Abstraction of Android APIs. Car Top level car API for Android Automotive OS deployments. CarAppFocusManager CarAppFocusManager allows applications to set and listen for the current application focus like active navigation or active voice command. CarInfoManager This class was deprecated in API level 33. Use CarPropertyManager instead. CarOccupantZoneManager API to get information on displays and users in the car. CarOccupantZoneManager.OccupantZoneInfo Represents an occupant zone in a car. CarVersion Represents the API version of the Car SDK. CarVersion.VERSION_CODES Contains pre-defined versions matching Car releases. EvConnectorType This class was deprecated in API level 33. Use EvChargingConnectorType as the return value of CarPropertyManager.getProperty(int, int) instead. FuelType FuelType denotes the different fuels a vehicle may use. GsrComplianceType Used by VehiclePropertyIds#GENERAL_SAFETY_REGULATION_COMPLIANCE to indicate what kind of general safety regulation compliance requirement is enforced. PlatformVersion Represents the API version of the standard Android SDK. PlatformVersion.VERSION_CODES Contains pre-defined versions matching Car releases. PortLocationType Used by INFO_FUEL_DOOR_LOCATION/INFO_CHARGE_PORT_LOCATION to enumerate fuel door or ev port location. VehicleAreaSeat Object used to indicate the area value for car properties which have area type VehicleAreaType#VEHICLE_AREA_TYPE_SEAT . VehicleAreaType List of different supported area types for vehicle properties. VehicleAreaWheel Object used to indicate area value for car properties which have area type VehicleAreaType#VEHICLE_AREA_TYPE_WHEEL . VehicleGear List of enums for vehicle gears. VehicleIgnitionState Possible states of a vehicle's ignition. VehiclePropertyIds List of vehicle property IDs. VehicleUnit Units used for int or float VehiclePropertyIds with no attached enum types. Exceptions CarNotConnectedException This class was deprecated in API level 29. No longer thrown by the Android API. Do not use in new code. PlatformVersionMismatchException Exception thrown when an App tries to calls an API not supported in the platform version. Interfaces Car.CarServiceLifecycleListener CarAppFocusManager.OnAppFocusChangedListener CarAppFocusManager.OnAppFocusOwnershipCallback CarOccupantZoneManager.OccupantZoneConfigChangeListener Classes ApiVersion Car CarAppFocusManager CarInfoManager CarOccupantZoneManager CarOccupantZoneManager.OccupantZoneInfo CarVersion CarVersion.VERSION_CODES EvConnectorType FuelType GsrComplianceType PlatformVersion PlatformVersion.VERSION_CODES PortLocationType VehicleAreaSeat VehicleAreaType VehicleAreaWheel VehicleGear VehicleIgnitionState VehiclePropertyIds VehicleUnit Exceptions CarNotConnectedException PlatformVersionMismatchException