public final class

ClimateStateRequest.Builder<T>

extends java.lang.Object

 java.lang.Object

↳androidx.car.app.hardware.climate.ClimateStateRequest.Builder<T>

Overview

A builder of ClimateStateRequest

Summary

Constructors
publicBuilder(int requestedFeature, java.lang.Object requestedValue)

Creates an instance of ClimateStateRequest.Builder.

Methods
public ClimateStateRequest.Builder<java.lang.Object>addCarZones(CarZone carZone)

Adds CarZone into ClimateStateRequest.

public ClimateStateRequest<java.lang.Object>build()

Constructs a ClimateStateRequest defined by this builder

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

Constructors

public Builder(int requestedFeature, java.lang.Object requestedValue)

Creates an instance of ClimateStateRequest.Builder.

Parameters:

requestedFeature: one of integer flags in ClimateProfileRequest.ClimateProfileFeature
requestedValue: the requested value for the feature

Methods

public ClimateStateRequest.Builder<java.lang.Object> addCarZones(CarZone carZone)

Adds CarZone into ClimateStateRequest.

Without calling this method, the request will contain CarZone#CAR_ZONE_GLOBAL.

Parameters:

carZone: the CarZone which the set operation will be applied

public ClimateStateRequest<java.lang.Object> build()

Constructs a ClimateStateRequest defined by this builder