Selection of Sensor API on Win10

时光毁灭记忆、已成空白 提交于 2019-12-11 04:16:18

问题


I found there are two ways to use the Sensor API:

1.Windows.Devices.Sensors, like LightSensor class

2.Traditional Sensor API

My device is Win10, and I knew the first method(Windows.Devices.Sensors) is modest to use; However, it need to use Universal Windows Platform(VS2015), but I don't want to use the UWP in this case.

I want to know whether the second method(Traditional Sensor API) can be used in the Win10?

Thanks!

来源:https://stackoverflow.com/questions/40232224/selection-of-sensor-api-on-win10

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