ClimateStateRequest.Builder


class ClimateStateRequest.Builder

A builder of ClimateStateRequest

Parameters

data type of request value

Summary

Public constructors

Builder(requestedFeature: Int, requestedValue: T!)

Creates an instance of Builder.

Public functions

ClimateStateRequest.Builder
addCarZones(carZone: CarZone)

Adds CarZone into ClimateStateRequest.

ClimateStateRequest

Constructs a ClimateStateRequest defined by this builder

Public constructors

Builder

Added in 1.3.0
Builder(requestedFeature: Int, requestedValue: T!)

Creates an instance of Builder.

Parameters
requestedFeature: Int

one of integer flags in ClimateProfileRequest.ClimateProfileFeature

requestedValue: T!

the requested value for the feature

Public functions

addCarZones

Added in 1.3.0
fun addCarZones(carZone: CarZone): ClimateStateRequest.Builder

Adds CarZone into ClimateStateRequest.

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

Parameters
carZone: CarZone

the CarZone which the set operation will be applied

build

Added in 1.3.0
fun build(): ClimateStateRequest

Constructs a ClimateStateRequest defined by this builder