-
public class WifiUtil
-
-
Method Summary
Modifier and Type Method Description voidgetDetailsWifiInfo()List<String>getAroundWifiDeviceInfo()List<ScanResult>getAroundWifiDeviceInfoList()static Stringis24GOr5GHz(int freq)static intgetCurrentChannel(WifiManager wifiManager)static intgetChannelByFrequency(int frequency)根据频率获得信道 static StringgetCurWIFIName(Context context)获取当前连接的wifi名称 -
-
Constructor Detail
-
WifiUtil
WifiUtil(Context context)
-
-
Method Detail
-
getDetailsWifiInfo
void getDetailsWifiInfo()
-
getAroundWifiDeviceInfo
List<String> getAroundWifiDeviceInfo()
-
getAroundWifiDeviceInfoList
List<ScanResult> getAroundWifiDeviceInfoList()
-
is24GOr5GHz
static String is24GOr5GHz(int freq)
-
getCurrentChannel
static int getCurrentChannel(WifiManager wifiManager)
-
getChannelByFrequency
static int getChannelByFrequency(int frequency)
根据频率获得信道
-
getCurWIFIName
static String getCurWIFIName(Context context)
获取当前连接的wifi名称
-
-
-
-