Does windows phone currently have APIs for proximity and light sensors?

人走茶凉 提交于 2019-12-23 19:15:57

问题


Does windows phone currently have APIs for proximity and light sensors?

I want to access these two sensors, but can not find the API.

Is there some methods to use them ?


回答1:


Unfortunately, no. Sensor APIs available are listed here: http://msdn.microsoft.com/en-us/library/microsoft.devices.sensors%28v=VS.92%29.aspx

If you really need it, then you should find it & vote for it here: http://wpdev.uservoice.com/forums/110705-app-platform ; They are listening to the feedback, if the recent news stories of "native" code access coming soon are true.



来源:https://stackoverflow.com/questions/8380610/does-windows-phone-currently-have-apis-for-proximity-and-light-sensors

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!