public final class

CabinTemperatureProfile.Builder

extends java.lang.Object

 java.lang.Object

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

Overview

A builder for CabinTemperatureProfile.

Summary

Constructors
publicBuilder()

Creates an instance of builder.

Methods
public CabinTemperatureProfilebuild()

Create a CabinTemperatureProfile.

public CabinTemperatureProfile.BuildersetCarZoneSetsToCabinCelsiusTemperatureRanges(java.util.Map<java.util.Set, > carZoneSetsToCabinCelsiusTemperatureRanges)

Sets the car zone to Celsius range mapping for the CabinTemperatureProfile.

public CabinTemperatureProfile.BuildersetCelsiusSupportedIncrement(float celsiusSupportedIncrement)

Sets the supported Celsius increment for the CabinTemperatureProfile.

public CabinTemperatureProfile.BuildersetFahrenheitSupportedIncrement(float fahrenheitSupportedIncrement)

Sets the supported Fahrenheit increment for the CabinTemperatureProfile.

public CabinTemperatureProfile.BuildersetSupportedMinMaxCelsiusRange(<any> supportedMinMaxCelsiusRange)

Sets the supported min/max Celsius range for the CabinTemperatureProfile.

public CabinTemperatureProfile.BuildersetSupportedMinMaxFahrenheitRange(<any> supportedMinMaxFahrenheitRange)

Sets the supported min/max Fahrenheit range for the CabinTemperatureProfile.

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

Constructors

public Builder()

Creates an instance of builder.

Methods

public CabinTemperatureProfile.Builder setSupportedMinMaxCelsiusRange(<any> supportedMinMaxCelsiusRange)

Sets the supported min/max Celsius range for the CabinTemperatureProfile.

public CabinTemperatureProfile.Builder setSupportedMinMaxFahrenheitRange(<any> supportedMinMaxFahrenheitRange)

Sets the supported min/max Fahrenheit range for the CabinTemperatureProfile.

public CabinTemperatureProfile.Builder setCarZoneSetsToCabinCelsiusTemperatureRanges(java.util.Map<java.util.Set, > carZoneSetsToCabinCelsiusTemperatureRanges)

Sets the car zone to Celsius range mapping for the CabinTemperatureProfile.

public CabinTemperatureProfile.Builder setCelsiusSupportedIncrement(float celsiusSupportedIncrement)

Sets the supported Celsius increment for the CabinTemperatureProfile.

public CabinTemperatureProfile.Builder setFahrenheitSupportedIncrement(float fahrenheitSupportedIncrement)

Sets the supported Fahrenheit increment for the CabinTemperatureProfile.

Create a CabinTemperatureProfile.