Re: [proximity] does it have a proximity sensor?

On Sunday, 20 May 2012 at 19:14, Doug Turner wrote:

> This also feels like a conversation we have already had.

Apologies for being a broken record. 
> There really is no way to really know if the proximity sensor is going to return a value. The proximity sensor might be present on a device, but never fire due to some hw bug or something. The only real way you'll know is if you get some change in the sensor.

> Similar to device orientation, motion, I do not want to have any "is device present" predicate in the API. If someone wants to build something through System API that allows you to query for device sensors - that's what I'd do.

Ok, can live with that. I guess it's easy to add later once there is some implementation experience and if more devs ask for it.  


-- 
Marcos Caceres
http://datadriven.com.au

Received on Sunday, 20 May 2012 19:02:51 UTC