[UWP]无法读取System.GPS.Status值 [英] [UWP]Unable to read System.GPS.Status value
问题描述
您好,
在Universal App Windows 10上我遇到了一些问题。
我想检查GPS是开还是关在我的设备上,所以我试图从
" System.GPS.Status"中读取值,但我没有得到如何阅读GPS相关数据。
请帮助我!!!
提前致谢。
问候,
Vikash Singh
vikash singh
您好Vikash,
您是如何从System.GPS.Status中读取值的?据我所知
Geolocator类将通过可用资源自动读取数据,不仅来自GPS,还来自wifi等。
- 詹姆斯
Hello,
On Universal App Windows 10 I have some issue.
I want to check whether GPS is On or Off on my device, so I am trying to read value from
"System.GPS.Status", but I didn't get how to read GPS related data.
Please help me!!!
Thanks in advance.
Regards,
Vikash Singh
vikash singh
Hi Vikash,
How did you read the value from System.GPS.Status? As I know Geolocator class will read the data automatically by available resource, not only from GPS, but also from wifi and etc..
--James
这篇关于[UWP]无法读取System.GPS.Status值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!