equalizationFactor property
double
get
equalizationFactor
Relative equalization factor applied to the entertainment service, to compensate for differences in brightness in the entertainment configuration.
Range: >0 - 1
Value cannot be 0, writing 0 changes it to lowest possible value.
Throws UnitIntervalException if equalizationFactor
is set to a value
that is not between 0 and 1 (inclusive).
Implementation
double get equalizationFactor => _equalizationFactor;
set
equalizationFactor
(double equalizationFactor)
Implementation
set equalizationFactor(double equalizationFactor) {
if (Validators.isUnitInterval(equalizationFactor)) {
_equalizationFactor = equalizationFactor;
} else {
throw UnitIntervalException.withValue(equalizationFactor);
}
}