MOTIVATION The AmbientLightSensor returns illuminance of the device's environment. This is another value that describes the nearby physical surrounding of the device, and can thus be used together with other readings for creating a unique fingerprint.
WRAPPING On examined stationary devices inside an office, the illuminance measured was between 500 and 900, depending on the concrete position's light conditions. All measured values were rounded to nearest 50 illuminance value. The wrapper silumlates the same behavior. At start, a pseudorandom illuminance value is drawn. As we simulate a stationary device, this value remains constant for all AmbientLightSensor.prototype.illuminance calls.
POSSIBLE IMPROVEMENTS Simulation of changes in the illuminance.