[UWP]监测蜂窝/ Wwan信号强度 [英] [UWP]Monitoring Cellular/Wwan Signal Strength

查看:178
本文介绍了[UWP]监测蜂窝/ Wwan信号强度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

是否有可能永久监控移动数据(蜂窝,gsm,...)连接。我一直在寻找一个事件或类似事件,它会报告移动数据连接强度变化时的信号强度。

is there any possibility to monitor the Mobile Data (cellular, gsm, ...) connection permanently. I've been searching for a while for an event or something like that, which reports the Signal strength when the mobile data connection strength changes.

在xamarin for android中我使用 GsmSignalStrengthListener 类。我正在寻找类似的东西。那么有人可以给我一个建议如何在uwp中实现这一点吗?

In xamarin for android I use the GsmSignalStrengthListener Class. I'm looking for something similar to that. So can someone give me an advice how to realize that in uwp?

Thanx帮助

推荐答案

嗨  Eliot1981,

Hi Eliot1981,

欢迎
到开发通用Windows应用程序论坛!
 请使用   标记  当
发布到此论坛时,谢谢!

您可以通过
WiFiAvailableNetwork
类,有关常规网络连接,请参阅Windows.Networking.Connectivity .ConnectionProfile。 GetSignalBars

You can get WiFi signal strength by the WiFiAvailableNetwork class, For general network connectivity see Windows.Networking.Connectivity.ConnectionProfile.GetSignalBars.

目前,没有Api可以获得  移动数据连接强度(gsm ...),您可以将此功能请求提交给UserVoice网站:

https://wpdev.uservoice.com/forums/110705-universal-windows-platform

Currently, there is no an Api can get the mobile data connection strength (gsm...), you can submit this feature request to the UserVoice website:
https://wpdev.uservoice.com/forums/110705-universal-windows-platform.

祝你好运,

Breeze


这篇关于[UWP]监测蜂窝/ Wwan信号强度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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