Windows Phone 目前是否有用于接近和光传感器的 API? [英] Does windows phone currently have APIs for proximity and light sensors?

查看:28
本文介绍了Windows Phone 目前是否有用于接近和光传感器的 API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows Phone 目前是否有用于接近和光传感器的 API?

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

我想访问这两个传感器,但找不到 API.

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

有什么方法可以使用它们吗?

Is there some methods to use them ?

推荐答案

很遗憾,没有.此处列出了可用的传感器 API:http://msdn.microsoft.com/en-us/library/microsoft.devices.sensors%28v=VS.92%29.aspx

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

如果你真的需要它,那么你应该找到它&在这里投票:http://wpdev.uservoice.com/forums/110705-app-平台;他们正在听取反馈,如果最近关于本地"代码访问的新闻报道是真的的话.

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.

这篇关于Windows Phone 目前是否有用于接近和光传感器的 API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆