RE: Next step for DAP Ambient Light Events

>> I think it makes more sense to only fire when you go from one state to another such as from bright -> normal
>>
> That is correct.  Was there something in the draft that needed to be clarified?

In section 6.2.2 in the NOTE paragraph is not clear. The sentence above that as "When the current light changes, the user agent must fire a light level event." Is not clear either. When the light changes for instance from 300 lux to 305 lux, but it is within the "normal" range, so I assume you don't want to fire the LightLevelEvent.

Thanks
/dt/


-----Original Message-----
From: Doug Turner [mailto:doug.turner@gmail.com] 
Sent: Tuesday, September 18, 2012 4:30 PM
To: Tran, Dzung D
Cc: public-device-apis@w3.org; Tab Atkins Jr.
Subject: Re: Next step for DAP Ambient Light Events

> I don't see any mention of the range for normal. Was this done on purpose?

I thought it was obvious that this range is between bright and dim.
Maybe we should call that out?

> I think it makes more sense to only fire when you go from one state to another such as from bright -> normal

That is correct.  Was there something in the draft that needed to be clarified?

Received on Tuesday, 18 September 2012 23:54:26 UTC