RegisterClimateStateRequest.Builder


public final class RegisterClimateStateRequest.Builder


A builder of RegisterClimateStateRequest.

Summary

Public constructors

Builder(boolean registerAllFeatures)

Creates an instance of Builder.

Public methods

@NonNull RegisterClimateStateRequest.Builder
addClimateRegisterFeatures(@NonNull CarClimateFeature[] features)

Adds CarClimateFeatures in ClimateProfileRequest.ClimateProfileFeature.

@NonNull RegisterClimateStateRequest

Constructs the RegisterClimateStateRequest defined by this builder.

Public constructors

Builder

Added in 1.3.0
public Builder(boolean registerAllFeatures)

Creates an instance of Builder.

Parameters
boolean registerAllFeatures

a boolean value used to register all climate features in all zones

Public methods

addClimateRegisterFeatures

public @NonNull RegisterClimateStateRequest.Builder addClimateRegisterFeatures(@NonNull CarClimateFeature[] features)

Adds CarClimateFeatures in ClimateProfileRequest.ClimateProfileFeature.

Parameters
@NonNull CarClimateFeature[] features

indicate which features the application is interested in

Throws
java.lang.IllegalArgumentException

if the feature flag is not one of ClimateProfileFeature

build

Added in 1.3.0
public @NonNull RegisterClimateStateRequest build()

Constructs the RegisterClimateStateRequest defined by this builder.