# RegisterClimateStateRequest

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

*** ** * ** ***


```
@CarProtocol
@RequiresCarApi(value = 5)
public final class RegisterClimateStateRequest
```

<br />

*** ** * ** ***

Allows specification of a request for registering the climate state events using string flags and car zones.

Applications need to use `https://developer.android.com/reference/androidx/car/app/hardware/climate/RegisterClimateStateRequest.Builder` to create a `https://developer.android.com/reference/androidx/car/app/hardware/climate/RegisterClimateStateRequest`.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/car/app/hardware/climate/RegisterClimateStateRequest.Builder` A builder of `https://developer.android.com/reference/androidx/car/app/hardware/climate/RegisterClimateStateRequest`. |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/car/app/hardware/climate/RegisterClimateStateRequest#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object.html o)` |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/androidx/car/app/hardware/climate/CarClimateFeature>` | `https://developer.android.com/reference/androidx/car/app/hardware/climate/RegisterClimateStateRequest#getClimateRegisterFeatures()()` Returns a list of CarClimateFeatures which are included in this request. |
| `int` | `https://developer.android.com/reference/androidx/car/app/hardware/climate/RegisterClimateStateRequest#hashCode()()` |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/car/app/hardware/climate/RegisterClimateStateRequest#toString()()` |

## Public methods

### equals

```
public boolean equals(Object o)
```

### getClimateRegisterFeatures

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

```
public @NonNull List<CarClimateFeature> getClimateRegisterFeatures()
```

Returns a list of CarClimateFeatures which are included in this request.

### hashCode

```
public int hashCode()
```

### toString

```
public @NonNull String toString()
```