| interface info |
| public interface AmbientLightStatus |
| Illumination status API. You can call getLightIntensity in this API to obtain the illumination. |
| Return type | Method name |
| abstract float | getLightIntensity() |
| Method |
| public abstract float getLightIntensity() |
| Obtains the illuminance, which is a floating point number. |
Return
| Type | desc |
| float | Returns the illuminance. |