# FanDirectionProfile.Builder

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/FanDirectionProfile.java+class:androidx.car.app.hardware.climate.FanDirectionProfile.Builder) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.3.0)

*** ** * ** ***


```
public final class FanDirectionProfile.Builder
```

<br />

*** ** * ** ***

A builder for FanDirectionProfile.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/car/app/hardware/climate/FanDirectionProfile.Builder#Builder(java.util.Map<java.util.Set<androidx.car.app.hardware.common.CarZone>,java.util.Set<java.lang.Integer>>)( @https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/util/Map.html<https://developer.android.com/reference/java/util/Set.html<https://developer.android.com/reference/androidx/car/app/hardware/common/CarZone>, https://developer.android.com/reference/java/util/Set.html<https://developer.android.com/reference/java/lang/Integer.html>> carZoneSetsToFanDirectionValues )` Creates an instance of builder. |

| ### Public methods |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/car/app/hardware/climate/FanDirectionProfile` | `https://developer.android.com/reference/androidx/car/app/hardware/climate/FanDirectionProfile.Builder#build()()` Create a FanDirectionProfile. |

## Public constructors

### Builder

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

```
public Builder(
    @NonNull Map<Set<CarZone>, Set<Integer>> carZoneSetsToFanDirectionValues
)
```

Creates an instance of builder.

| Parameters |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/util/Map.html<https://developer.android.com/reference/java/util/Set.html<https://developer.android.com/reference/androidx/car/app/hardware/common/CarZone>, https://developer.android.com/reference/java/util/Set.html<https://developer.android.com/reference/java/lang/Integer.html>> carZoneSetsToFanDirectionValues` | map of supported values for the property corresponding to the set of car zones. The range values could be one of the values from \[0,6\] specified in `https://developer.android.com/reference/androidx/car/app/hardware/common/CarPropertyProfile.HvacFanDirection`. |

## Public methods

### build

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

```
public @NonNull FanDirectionProfile build()
```

Create a FanDirectionProfile.