public final class

ClimateProfileRequest.Builder

extends java.lang.Object

 java.lang.Object

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

Overview

A builder of ClimateProfileRequest.

Summary

Constructors
publicBuilder()

Creates an instance of ClimateProfileRequest.Builder.

Methods
public ClimateProfileRequest.BuilderaddClimateProfileFeatures(CarClimateFeature features[])

Adds the given CarClimateFeatures in the request.

public ClimateProfileRequestbuild()

Constructs the ClimateProfileRequest defined by this builder.

public ClimateProfileRequest.BuildersetAllClimateProfiles()

Adds all CarClimateFeatures in the request by enabling all profiles.

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

Constructors

public Builder()

Creates an instance of ClimateProfileRequest.Builder.

Methods

public ClimateProfileRequest.Builder setAllClimateProfiles()

Adds all CarClimateFeatures in the request by enabling all profiles.

public ClimateProfileRequest.Builder addClimateProfileFeatures(CarClimateFeature features[])

Adds the given CarClimateFeatures in the request.

Parameters:

features: CarClimateFeatures indicates the features the application is interested in

public ClimateProfileRequest build()

Constructs the ClimateProfileRequest defined by this builder.