|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LightDetector
A platform independent implementation for sensors that can detect white light levels.
Method Summary | |
---|---|
int |
getHigh()
The highest raw light value this sensor can return from intense bright light. |
int |
getLightValue()
Returns the calibrated and normalized brightness of the white light detected. |
int |
getLow()
The lowest raw light value this sensor can return in pitch black darkness. |
int |
getNormalizedLightValue()
Returns the normalized value of the brightness of the white light detected, such that the lowest value is darkness and the highest value is intense bright light. |
Method Detail |
---|
int getLightValue()
int getNormalizedLightValue()
int getHigh()
int getLow()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |