📅  最后修改于: 2022-03-11 14:49:20.184000             🧑  作者: Mango
WifiManager wifiManager = (WifiManager)this.context.getSystemService(Context.WIFI_SERVICE);
wifiManager.setWifiEnabled(status);