# android.car.hardware.property

# android.car.hardware.property

## Interfaces

|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [CarPropertyManager.AsyncPropertyRequest](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest)                   | An async get/set property request.                                                                                                                                                                                                                                                                                                                                                                                        |
| [CarPropertyManager.CarPropertyEventCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.CarPropertyEventCallback)           | Application registers[CarPropertyEventCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.CarPropertyEventCallback)object to receive updates and changes to subscribed Vehicle specific properties.                                                                                                                                                                        |
| [CarPropertyManager.GetPropertyCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyCallback)                     | A callback[CarPropertyManager.getPropertiesAsync](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager#getPropertiesAsync(java.util.List<android.car.hardware.property.CarPropertyManager.GetPropertyRequest>,%20android.os.CancellationSignal,%20java.util.concurrent.Executor,%20android.car.hardware.property.CarPropertyManager.GetPropertyCallback))when succeeded or failed.    |
| [CarPropertyManager.SetPropertyCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyCallback)                     | A callback[CarPropertyManager.setPropertiesAsync](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager#setPropertiesAsync(java.util.List<android.car.hardware.property.CarPropertyManager.SetPropertyRequest<?>>,%20android.os.CancellationSignal,%20java.util.concurrent.Executor,%20android.car.hardware.property.CarPropertyManager.SetPropertyCallback))when succeeded or failed. |
| [CarPropertyManager.SupportedValuesChangeCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SupportedValuesChangeCallback) | A callback interface to deliver value range change callbacks.                                                                                                                                                                                                                                                                                                                                                             |

## Classes

|--------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [AreaIdConfig](https://developer.android.com/reference/android/car/hardware/property/AreaIdConfig)\<T\>                                                      | Represents area ID specific configuration information for a vehicle property.                                                                                                                                                                                                                                                                                                                                                                                               |
| [CarPropertyManager](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager)                                               | Provides an application interface for interacting with the Vehicle specific properties.                                                                                                                                                                                                                                                                                                                                                                                     |
| [CarPropertyManager.GetPropertyRequest](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyRequest)         | A request for[CarPropertyManager.getPropertiesAsync(List, long, CancellationSignal, Executor, GetPropertyCallback)](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager#getPropertiesAsync(java.util.List<android.car.hardware.property.CarPropertyManager.GetPropertyRequest>,%20long,%20android.os.CancellationSignal,%20java.util.concurrent.Executor,%20android.car.hardware.property.CarPropertyManager.GetPropertyCallback)).    |
| [CarPropertyManager.GetPropertyResult](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyResult)\<T\>      | A successful result for[GetPropertyCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyCallback).                                                                                                                                                                                                                                                                                                                 |
| [CarPropertyManager.PropertyAsyncError](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.PropertyAsyncError)         | An error result for[GetPropertyCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyCallback)or[SetPropertyCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyCallback).                                                                                                                                                                                |
| [CarPropertyManager.SetPropertyRequest](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyRequest)\<T\>    | A request for[CarPropertyManager.setPropertiesAsync(List, long, CancellationSignal, Executor, SetPropertyCallback)](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager#setPropertiesAsync(java.util.List<android.car.hardware.property.CarPropertyManager.SetPropertyRequest<?>>,%20long,%20android.os.CancellationSignal,%20java.util.concurrent.Executor,%20android.car.hardware.property.CarPropertyManager.SetPropertyCallback)). |
| [CarPropertyManager.SetPropertyResult](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyResult)           | A successful result for[SetPropertyCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyCallback).                                                                                                                                                                                                                                                                                                                 |
| [DetailedErrorCode](https://developer.android.com/reference/android/car/hardware/property/DetailedErrorCode)                                                 | Detailed error codes used in vehicle HAL interface.                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [EvChargeState](https://developer.android.com/reference/android/car/hardware/property/EvChargeState)                                                         | Possible EV charge states of a vehicle.                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [EvChargingConnectorType](https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType)                                     | Uses IEC(International Electrotechnical Commission) 62196 and other standards to denote the charging connector type an electric vehicle may use.                                                                                                                                                                                                                                                                                                                            |
| [EvRegenerativeBrakingState](https://developer.android.com/reference/android/car/hardware/property/EvRegenerativeBrakingState)                               | Possible EV regenerative braking states of a vehicle.                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [LocationCharacterization](https://developer.android.com/reference/android/car/hardware/property/LocationCharacterization)                                   | Used by[VehiclePropertyIds.LOCATION_CHARACTERIZATION](https://developer.android.com/reference/android/car/VehiclePropertyIds#LOCATION_CHARACTERIZATION)to enumerate the supported bit flags.                                                                                                                                                                                                                                                                                |
| [MinMaxSupportedValue](https://developer.android.com/reference/android/car/hardware/property/MinMaxSupportedValue)\<T\>                                      | A structure contains min/max supported value.                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [PropertyNotAvailableErrorCode](https://developer.android.com/reference/android/car/hardware/property/PropertyNotAvailableErrorCode)                         | Detailed error codes used in vehicle HAL interface.                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [Subscription](https://developer.android.com/reference/android/car/hardware/property/Subscription)                                                           | Represents the subscription data to[CarPropertyManager.subscribePropertyEvents](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager#subscribePropertyEvents(int,%20android.car.hardware.property.CarPropertyManager.CarPropertyEventCallback)).                                                                                                                                                                                        |
| [Subscription.Builder](https://developer.android.com/reference/android/car/hardware/property/Subscription.Builder)                                           | Builder for Subscription                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [VehicleElectronicTollCollectionCardStatus](https://developer.android.com/reference/android/car/hardware/property/VehicleElectronicTollCollectionCardStatus) | Used by[VehiclePropertyIds.ELECTRONIC_TOLL_COLLECTION_CARD_STATUS](https://developer.android.com/reference/android/car/VehiclePropertyIds#ELECTRONIC_TOLL_COLLECTION_CARD_STATUS)to enumerate ETC(electronic toll collection) card types in the vehicle.                                                                                                                                                                                                                    |
| [VehicleElectronicTollCollectionCardType](https://developer.android.com/reference/android/car/hardware/property/VehicleElectronicTollCollectionCardType)     | Used by[VehiclePropertyIds.ELECTRONIC_TOLL_COLLECTION_CARD_TYPE](https://developer.android.com/reference/android/car/VehiclePropertyIds#ELECTRONIC_TOLL_COLLECTION_CARD_TYPE)to enumerate ETC(electronic toll collection) card types in the vehicle.                                                                                                                                                                                                                        |
| [VehicleSizeClass](https://developer.android.com/reference/android/car/hardware/property/VehicleSizeClass)                                                   | Used to enumerate the various size classes of vehicles for the[VehiclePropertyIds.INFO_VEHICLE_SIZE_CLASS](https://developer.android.com/reference/android/car/VehiclePropertyIds#INFO_VEHICLE_SIZE_CLASS)PROPERTY.                                                                                                                                                                                                                                                         |

## Exceptions

|------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|
| [CarInternalErrorException](https://developer.android.com/reference/android/car/hardware/property/CarInternalErrorException)                         | Exception thrown when something unexpected happened in cars.                                             |
| [PropertyAccessDeniedSecurityException](https://developer.android.com/reference/android/car/hardware/property/PropertyAccessDeniedSecurityException) | Exception thrown when cars denied the access of properties.                                              |
| [PropertyNotAvailableAndRetryException](https://developer.android.com/reference/android/car/hardware/property/PropertyNotAvailableAndRetryException) | Exception thrown when device that associated with the vehicle property is temporarily not available.     |
| [PropertyNotAvailableException](https://developer.android.com/reference/android/car/hardware/property/PropertyNotAvailableException)                 | Exception thrown when the vehicle property is not available because of the current state of the vehicle. |

-

  ## Interfaces

  - [CarPropertyManager.AsyncPropertyRequest](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest)
  - [CarPropertyManager.CarPropertyEventCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.CarPropertyEventCallback)
  - [CarPropertyManager.GetPropertyCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyCallback)
  - [CarPropertyManager.SetPropertyCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyCallback)
  - [CarPropertyManager.SupportedValuesChangeCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SupportedValuesChangeCallback)
-

  ## Classes

  - [AreaIdConfig](https://developer.android.com/reference/android/car/hardware/property/AreaIdConfig)
  - [CarPropertyManager](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager)
  - [CarPropertyManager.GetPropertyRequest](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyRequest)
  - [CarPropertyManager.GetPropertyResult](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyResult)
  - [CarPropertyManager.PropertyAsyncError](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.PropertyAsyncError)
  - [CarPropertyManager.SetPropertyRequest](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyRequest)
  - [CarPropertyManager.SetPropertyResult](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyResult)
  - [DetailedErrorCode](https://developer.android.com/reference/android/car/hardware/property/DetailedErrorCode)
  - [EvChargeState](https://developer.android.com/reference/android/car/hardware/property/EvChargeState)
  - [EvChargingConnectorType](https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType)
  - [EvRegenerativeBrakingState](https://developer.android.com/reference/android/car/hardware/property/EvRegenerativeBrakingState)
  - [LocationCharacterization](https://developer.android.com/reference/android/car/hardware/property/LocationCharacterization)
  - [MinMaxSupportedValue](https://developer.android.com/reference/android/car/hardware/property/MinMaxSupportedValue)
  - [PropertyNotAvailableErrorCode](https://developer.android.com/reference/android/car/hardware/property/PropertyNotAvailableErrorCode)
  - [Subscription](https://developer.android.com/reference/android/car/hardware/property/Subscription)
  - [Subscription.Builder](https://developer.android.com/reference/android/car/hardware/property/Subscription.Builder)
  - [VehicleElectronicTollCollectionCardStatus](https://developer.android.com/reference/android/car/hardware/property/VehicleElectronicTollCollectionCardStatus)
  - [VehicleElectronicTollCollectionCardType](https://developer.android.com/reference/android/car/hardware/property/VehicleElectronicTollCollectionCardType)
  - [VehicleSizeClass](https://developer.android.com/reference/android/car/hardware/property/VehicleSizeClass)
-

  ## Exceptions

  - [CarInternalErrorException](https://developer.android.com/reference/android/car/hardware/property/CarInternalErrorException)
  - [PropertyAccessDeniedSecurityException](https://developer.android.com/reference/android/car/hardware/property/PropertyAccessDeniedSecurityException)
  - [PropertyNotAvailableAndRetryException](https://developer.android.com/reference/android/car/hardware/property/PropertyNotAvailableAndRetryException)
  - [PropertyNotAvailableException](https://developer.android.com/reference/android/car/hardware/property/PropertyNotAvailableException)