Build 1.0_r1(from source)

android.net.wifi
Interface IWifiManager

All Superinterfaces:
IInterface
All Known Implementing Classes:
IWifiManager.Stub

public interface IWifiManager
extends IInterface

Interface that allows controlling and querying Wi-Fi connectivity.


Nested Class Summary
static class IWifiManager.Stub
          Local-side IPC implementation stub class.
 
Method Summary
 boolean acquireWifiLock(IBinder lock, String tag)
           
 int addOrUpdateNetwork(WifiConfiguration config)
           
 boolean disableNetwork(int netId)
           
 boolean disconnect()
           
 boolean enableNetwork(int netId, boolean disableOthers)
           
 List<WifiConfiguration> getConfiguredNetworks()
           
 WifiInfo getConnectionInfo()
           
 DhcpInfo getDhcpInfo()
           
 List<ScanResult> getScanResults()
           
 int getWifiState()
           
 boolean pingSupplicant()
           
 boolean reassociate()
           
 boolean reconnect()
           
 boolean releaseWifiLock(IBinder lock)
           
 boolean removeNetwork(int netId)
           
 boolean saveConfiguration()
           
 boolean setWifiEnabled(boolean enable)
           
 boolean startScan()
           
 
Methods inherited from interface android.os.IInterface
asBinder
 

Method Detail

getConfiguredNetworks

List<WifiConfiguration> getConfiguredNetworks()
                                              throws RemoteException
Throws:
RemoteException

addOrUpdateNetwork

int addOrUpdateNetwork(WifiConfiguration config)
                       throws RemoteException
Throws:
RemoteException

removeNetwork

boolean removeNetwork(int netId)
                      throws RemoteException
Throws:
RemoteException

enableNetwork

boolean enableNetwork(int netId,
                      boolean disableOthers)
                      throws RemoteException
Throws:
RemoteException

disableNetwork

boolean disableNetwork(int netId)
                       throws RemoteException
Throws:
RemoteException

pingSupplicant

boolean pingSupplicant()
                       throws RemoteException
Throws:
RemoteException

startScan

boolean startScan()
                  throws RemoteException
Throws:
RemoteException

getScanResults

List<ScanResult> getScanResults()
                                throws RemoteException
Throws:
RemoteException

disconnect

boolean disconnect()
                   throws RemoteException
Throws:
RemoteException

reconnect

boolean reconnect()
                  throws RemoteException
Throws:
RemoteException

reassociate

boolean reassociate()
                    throws RemoteException
Throws:
RemoteException

getConnectionInfo

WifiInfo getConnectionInfo()
                           throws RemoteException
Throws:
RemoteException

setWifiEnabled

boolean setWifiEnabled(boolean enable)
                       throws RemoteException
Throws:
RemoteException

getWifiState

int getWifiState()
                 throws RemoteException
Throws:
RemoteException

saveConfiguration

boolean saveConfiguration()
                          throws RemoteException
Throws:
RemoteException

getDhcpInfo

DhcpInfo getDhcpInfo()
                     throws RemoteException
Throws:
RemoteException

acquireWifiLock

boolean acquireWifiLock(IBinder lock,
                        String tag)
                        throws RemoteException
Throws:
RemoteException

releaseWifiLock

boolean releaseWifiLock(IBinder lock)
                        throws RemoteException
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature