views:

100

answers:

2

Hi,

Does anybody knows the unity of the return value of Sensor.TYPE_LIGHT on Android ?

Thanks.

A: 

Hi cyrilounet,

EDIT : it seems to be Lux unit : http://en.wikipedia.org/wiki/Lux

If you want to know everything :

1 lx = 1 lm/m^2 = 1 cd·sr·m^-2

Where : lx = lux, lm = lumen, cd = candela, sr = steradian

Nicolas C.
Oh, I wasn't clear enough. I mean, what is the unity of event.values[0] in onSensorChanged(SensorEvent event). Is it candela per square meter ?
magiccyril
JRL told you it's `SI lux units m/s²` (je savais pas que tu étais sur ce site :p)
Nicolas C.
A: 

It's in SI lux units (m/s2).

JRL