# AutomotiveCarHardwareManager

Artifact: [androidx.car.app:app-automotive](https://developer.android.com/jetpack/androidx/releases/car-app) [View Source](https://cs.android.com/search?q=file:androidx/car/app/hardware/AutomotiveCarHardwareManager.java+class:androidx.car.app.hardware.AutomotiveCarHardwareManager) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)

*** ** * ** ***


```
@ExperimentalCarApi
@CarProtocol
class AutomotiveCarHardwareManager : CarHardwareManager
```

<br />

*** ** * ** ***

`https://developer.android.com/reference/kotlin/androidx/car/app/hardware/CarHardwareManager` which uses Android Automotive OS APIs to access properties, sensors, and actions.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/car/app/hardware/AutomotiveCarHardwareManager#AutomotiveCarHardwareManager(android.content.Context)(context: https://developer.android.com/reference/android/content/Context.html)` |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/car/app/hardware/climate/CarClimate` | `https://developer.android.com/reference/kotlin/androidx/car/app/hardware/AutomotiveCarHardwareManager#getCarClimate()()` Returns the `https://developer.android.com/reference/kotlin/androidx/car/app/hardware/climate/CarClimate` that can be used to query climate information from the car hardware. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/CarInfo` | `https://developer.android.com/reference/kotlin/androidx/car/app/hardware/AutomotiveCarHardwareManager#getCarInfo()()` Returns the `https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/CarInfo` that can be used to query the car hardware information such as make, model, etc. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/CarSensors` | `https://developer.android.com/reference/kotlin/androidx/car/app/hardware/AutomotiveCarHardwareManager#getCarSensors()()` Returns the `https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/CarSensors` that can be used to access sensor information from the car hardware. |

## Public constructors

### AutomotiveCarHardwareManager

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)

```
AutomotiveCarHardwareManager(context: Context)
```

## Public functions

### getCarClimate

```
fun getCarClimate(): CarClimate
```

Returns the `https://developer.android.com/reference/kotlin/androidx/car/app/hardware/climate/CarClimate` that can be used to query climate information from the car hardware.

### getCarInfo

```
fun getCarInfo(): CarInfo
```

Returns the `https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/CarInfo` that can be used to query the car hardware information such as make, model, etc.

### getCarSensors

```
fun getCarSensors(): CarSensors
```

Returns the `https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/CarSensors` that can be used to access sensor information from the car hardware.