FileDocCategorySizeDatePackage
IWifiManager.javaAPI DocAndroid 5.1 API56763Sat Mar 14 05:48:12 GMT 2015android.net.wifi

IWifiManager

public interface IWifiManager implements android.os.IInterface
Interface that allows controlling and querying Wi-Fi connectivity. {@hide}

Fields Summary
Constructors Summary
Methods Summary
public voidacquireMulticastLock(android.os.IBinder binder, java.lang.String tag)

public booleanacquireWifiLock(android.os.IBinder lock, int lockType, java.lang.String tag, android.os.WorkSource ws)

public intaddOrUpdateNetwork(android.net.wifi.WifiConfiguration config)

public voidaddToBlacklist(java.lang.String bssid)

public voidclearBlacklist()

public voiddisableEphemeralNetwork(java.lang.String SSID)

public booleandisableNetwork(int netId)

public voiddisconnect()

public voidenableAggressiveHandover(int enabled)

public booleanenableNetwork(int netId, boolean disableOthers)

public voidenableTdls(java.lang.String remoteIPAddress, boolean enable)

public voidenableTdlsWithMacAddress(java.lang.String remoteMacAddress, boolean enable)

public voidenableVerboseLogging(int verbose)

public intgetAggressiveHandover()

public intgetAllowScansWithTraffic()

public java.util.ListgetBatchedScanResults(java.lang.String callingPackage)

public java.util.ListgetChannelList()

public java.lang.StringgetConfigFile()

public java.util.ListgetConfiguredNetworks()

public android.net.wifi.WifiInfogetConnectionInfo()

public android.net.wifi.WifiConnectionStatisticsgetConnectionStatistics()

public android.net.DhcpInfogetDhcpInfo()

public intgetFrequencyBand()

public java.util.ListgetPrivilegedConfiguredNetworks()

public java.util.ListgetScanResults(java.lang.String callingPackage)

public intgetSupportedFeatures()

public intgetVerboseLoggingLevel()

public android.net.wifi.WifiConfigurationgetWifiApConfiguration()

public intgetWifiApEnabledState()

public intgetWifiEnabledState()

public android.os.MessengergetWifiServiceMessenger()

public java.lang.StringgetWpsNfcConfigurationToken(int netId)

public voidinitializeMulticastFiltering()

public booleanisBatchedScanSupported()

public booleanisDualBandSupported()

public booleanisMulticastEnabled()

public booleanisScanAlwaysAvailable()

public booleanpingSupplicant()

public voidpollBatchedScan()

public voidreassociate()

public voidreconnect()

public voidreleaseMulticastLock()

public booleanreleaseWifiLock(android.os.IBinder lock)

public booleanremoveNetwork(int netId)

public android.net.wifi.WifiActivityEnergyInforeportActivityInfo()

public booleanrequestBatchedScan(android.net.wifi.BatchedScanSettings requested, android.os.IBinder binder, android.os.WorkSource ws)

public booleansaveConfiguration()

public voidsetAllowScansWithTraffic(int enabled)

public voidsetCountryCode(java.lang.String country, boolean persist)

public voidsetFrequencyBand(int band, boolean persist)

public voidsetWifiApConfiguration(android.net.wifi.WifiConfiguration wifiConfig)

public voidsetWifiApEnabled(android.net.wifi.WifiConfiguration wifiConfig, boolean enable)

public booleansetWifiEnabled(boolean enable)

public voidstartLocationRestrictedScan(android.os.WorkSource ws)

public voidstartScan(android.net.wifi.ScanSettings requested, android.os.WorkSource ws)

public voidstartWifi()

public voidstopBatchedScan(android.net.wifi.BatchedScanSettings requested)

public voidstopWifi()

public voidupdateWifiLockWorkSource(android.os.IBinder lock, android.os.WorkSource ws)