CarClimateFeature.Builder

public final class CarClimateFeature.Builder


A builder for CarClimateFeature.

Summary

Public constructors

Builder(int feature)

Creates an instance of builder.

Public methods

@NonNull CarClimateFeature.Builder
addCarZones(@NonNull CarZone[] carZones)

Adds CarZones into the CarClimateFeature.

@NonNull CarClimateFeature

Create a CarClimateFeature.

Public constructors

Builder

Added in 1.3.0
public Builder(int feature)

Creates an instance of builder.

Parameters
int feature

one of integer flags in ClimateStateFeature or ClimateProfileFeatures

Public methods

addCarZones

public @NonNull CarClimateFeature.Builder addCarZones(@NonNull 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
@NonNull CarZone[] carZones

CarZones for this CarClimateFeature

build

Added in 1.3.0
public @NonNull CarClimateFeature build()

Create a CarClimateFeature.