RegisterClimateStateRequest.Builder


class RegisterClimateStateRequest.Builder


A builder of RegisterClimateStateRequest.

Summary

Public constructors

Builder(registerAllFeatures: Boolean)

Creates an instance of Builder.

Public functions

RegisterClimateStateRequest.Builder

Adds CarClimateFeatures in ClimateProfileRequest.ClimateProfileFeature.

RegisterClimateStateRequest

Constructs the RegisterClimateStateRequest defined by this builder.

Public constructors

Builder

Added in 1.3.0
Builder(registerAllFeatures: Boolean)

Creates an instance of Builder.

Parameters
registerAllFeatures: Boolean

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

Public functions

addClimateRegisterFeatures

fun addClimateRegisterFeatures(features: Array<CarClimateFeature!>): RegisterClimateStateRequest.Builder

Adds CarClimateFeatures in ClimateProfileRequest.ClimateProfileFeature.

Parameters
features: Array<CarClimateFeature!>

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
fun build(): RegisterClimateStateRequest

Constructs the RegisterClimateStateRequest defined by this builder.