IEvs Auto Brightness Controller
Auto brightness controller interface for controlling the auto brightness mechanism
The auto brightness controller manages the auto brightness functionality, with the help of the supplied IEvsAutoBrightnessProvider
The auto brightness controller can be accessed via the IEvsDisplayService.autoBrightness function
The controller will persist and restore its last enable state, when having a provider via setProvider
Note:
Auto brightness can be achieved also by directly registering the Ambient sensor (see IEvsSensorsEvents). Using both mechanisms in parallel wil result in unexpected behaviour
See also
Functions
Get the Ambient sensors control state
Get the IEvsAutoBrightnessProvider
Returns true if the auth brightness provider was set
Register for the auto brightness events
When true (default) the controller will enable\disable the glassed ambient sensor according to its internal logic
Set the IEvsAutoBrightnessProvider
Unregister for the auto brightness events