Android Wifi State Check isWifiDisabled(WifiManager wifi)

Here you can find the source of isWifiDisabled(WifiManager wifi)

Description

is Wifi Disabled

Declaration

public static boolean isWifiDisabled(WifiManager wifi) 

Method Source Code

//package com.java2s;

import android.net.wifi.WifiManager;

public class Main {
    public static boolean isWifiDisabled(WifiManager wifi) {
        return wifi.getWifiState() == WifiManager.WIFI_STATE_DISABLED;
    }/*from  w ww .jav a 2 s .  c om*/
}

Related

  1. getWifiState(Context context)
  2. isConnectedWifi(Context context)
  3. isConnectedWifi(Context context)
  4. isWifiAvailable(Context context)
  5. isWifiDisabled(WifiManager wifi)
  6. isWifiEnabled(WifiManager wifi)
  7. isWifiEnabled(WifiManager wifi)
  8. isWifiEnabledOrEnabling(WifiManager wifi)
  9. isWifiEnabledOrEnabling(WifiManager wifi)