Class AmbientLightManager

  • All Implemented Interfaces:
    SensorEventListener

    public final class AmbientLightManager
    extends Object
    implements SensorEventListener
    Detects ambient light and switches on the front light when very dark, and off again when sufficiently light.