CabinTemperatureProfile


@ExperimentalCarApi
class CabinTemperatureProfile


Container class for information about the FEATURE_CABIN_TEMPERATURE feature such as supported min/max values and increments for the feature.

Summary

Nested types

A builder for CabinTemperatureProfile.

Public functions

(Mutable)Map<(Mutable)Set<CarZone!>!, Pair<Float!, Float!>!>

Returns a pair of supported min/max range values in Celsius for the feature mapped to the set of car zones.

Float

Returns the increment number by which the Celsius values in the range differ.

Float

Returns the increment number by which the Fahrenheit values in the range differ.

Pair<Float!, Float!>

Returns a pair of min and max range for the values of the property in Celsius.

Pair<Float!, Float!>

Returns a pair of min and max range for the values of the property in Fahrenheit.

Boolean

Reports whether the min/max Celsius mapped to the car zones is available or not.

Boolean

Reports whether the increment value in Celsius is available or not.

Boolean

Reports whether the increment value in Fahrenheit is available or not.

Boolean

Reports whether the min/max Celsius from the config array is available or not.

Boolean

Reports whether the min/max Fahrenheit from the config array is available or not.

Public functions

getCarZoneSetsToCabinCelsiusTemperatureRanges

Added in 1.3.0
fun getCarZoneSetsToCabinCelsiusTemperatureRanges(): (Mutable)Map<(Mutable)Set<CarZone!>!, Pair<Float!, Float!>!>

Returns a pair of supported min/max range values in Celsius for the feature mapped to the set of car zones.

The values that can be regulated together for a set of car zones are combined together.

getCelsiusSupportedIncrement

Added in 1.3.0
fun getCelsiusSupportedIncrement(): Float

Returns the increment number by which the Celsius values in the range differ.

For example, for the range [16.0, 28.0] and increment 0.5 would mean possible values like [16.0, 16.5, 17.0, ...., 27.5, 28.0].

throws IllegalStateException if the values of the increment is not present.

getFahrenheitSupportedIncrement

Added in 1.3.0
fun getFahrenheitSupportedIncrement(): Float

Returns the increment number by which the Fahrenheit values in the range differ.

For example, for the range [60.5, 82.5] and increment 1.0 would mean possible values like [60.5, 61.5, 62.0, ...., 81.5, 82.5].

throws IllegalStateException if the values of the increment is not present.

getSupportedMinMaxCelsiusRange

Added in 1.3.0
fun getSupportedMinMaxCelsiusRange(): Pair<Float!, Float!>

Returns a pair of min and max range for the values of the property in Celsius.

getSupportedMinMaxFahrenheitRange

Added in 1.3.0
fun getSupportedMinMaxFahrenheitRange(): Pair<Float!, Float!>

Returns a pair of min and max range for the values of the property in Fahrenheit.

hasCarZoneSetsToCabinCelsiusTemperatureRanges

Added in 1.3.0
fun hasCarZoneSetsToCabinCelsiusTemperatureRanges(): Boolean

Reports whether the min/max Celsius mapped to the car zones is available or not.

hasCelsiusSupportedIncrement

Added in 1.3.0
fun hasCelsiusSupportedIncrement(): Boolean

Reports whether the increment value in Celsius is available or not.

hasFahrenheitSupportedIncrement

Added in 1.3.0
fun hasFahrenheitSupportedIncrement(): Boolean

Reports whether the increment value in Fahrenheit is available or not.

hasSupportedMinMaxCelsiusRange

Added in 1.3.0
fun hasSupportedMinMaxCelsiusRange(): Boolean

Reports whether the min/max Celsius from the config array is available or not.

hasSupportedMinMaxFahrenheitRange

Added in 1.3.0
fun hasSupportedMinMaxFahrenheitRange(): Boolean

Reports whether the min/max Fahrenheit from the config array is available or not.