ClimateStateRequest.Builder


class ClimateStateRequest.Builder<T>


A builder of ClimateStateRequest

Parameters
<T>

data type of request value

Summary

Public constructors

Builder(requestedFeature: Int, requestedValue: T!)

Creates an instance of Builder.

Public functions

ClimateStateRequest.Builder<T!>
addCarZones(carZone: CarZone)

Adds CarZone into ClimateStateRequest.

ClimateStateRequest<T!>

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<T!>

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<T!>

Constructs a ClimateStateRequest defined by this builder