我有一个开发场景,需要检查WiFi限制选项是启用还是禁用?如果启用,那么我想以编程方式禁用它。
您必须使用broadcastReceiver来接收它。在这里检查https://developer.android.com/guide/topics/connectivity/wifi-scan