CarClimateFeature.Builder

class CarClimateFeature.Builder


A builder for CarClimateFeature.

Summary

Public constructors

Builder(feature: Int)

Creates an instance of builder.

Public functions

CarClimateFeature.Builder
addCarZones(carZones: Array<CarZone!>)

Adds CarZones into the CarClimateFeature.

CarClimateFeature

Create a CarClimateFeature.

Public constructors

Builder

Added in 1.3.0
Builder(feature: Int)

Creates an instance of builder.

Parameters
feature: Int

one of integer flags in ClimateStateFeature or ClimateProfileFeatures

Public functions

addCarZones

fun addCarZones(carZones: Array<CarZone!>): CarClimateFeature.Builder

Adds CarZones into the CarClimateFeature.

If carZones are not set in the feature, the Builder will create the feature with all available zones.

Parameters
carZones: Array<CarZone!>

CarZones for this CarClimateFeature

build

Added in 1.3.0
fun build(): CarClimateFeature

Create a CarClimateFeature.