interface info
public interface AmbientLightStatus
Illumination status API. You can call getLightIntensity in this API to obtain the illumination.

Public Method Summary

Return typeMethod name
abstract floatgetLightIntensity()

Public Methods

Method
public abstract float getLightIntensity()
Obtains the illuminance, which is a floating point number.

Return

Typedesc
floatReturns the illuminance.