public final class

CarClimateFeature.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.car.app.hardware.climate.CarClimateFeature.Builder

Overview

A builder for CarClimateFeature.

Summary

Constructors
publicBuilder(int feature)

Creates an instance of builder.

Methods
public CarClimateFeature.BuilderaddCarZones(CarZone carZones[])

Adds CarZones into the CarClimateFeature.

public CarClimateFeaturebuild()

Create a CarClimateFeature.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder(int feature)

Creates an instance of builder.

Parameters:

feature: one of integer flags in ClimateStateFeature or ClimateProfileFeatures

Methods

public CarClimateFeature.Builder addCarZones(CarZone carZones[])

Adds CarZones into the CarClimateFeature.

If carZones are not set in the feature, the Builder will create the feature with all available zones.

Parameters:

carZones: CarZones for this CarClimateFeature

public CarClimateFeature build()

Create a CarClimateFeature.