Build 1.0_r1(from source)

android.net
Interface IConnectivityManager

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

public interface IConnectivityManager
extends IInterface


Nested Class Summary
static class IConnectivityManager.Stub
          Local-side IPC implementation stub class.
 
Method Summary
 NetworkInfo getActiveNetworkInfo()
           
 NetworkInfo[] getAllNetworkInfo()
           
 NetworkInfo getNetworkInfo(int networkType)
           
 int getNetworkPreference()
           
 boolean requestRouteToHost(int networkType, int hostAddress)
           
 void setNetworkPreference(int pref)
           
 boolean setRadio(int networkType, boolean turnOn)
           
 boolean setRadios(boolean onOff)
           
 int startUsingNetworkFeature(int networkType, String feature)
           
 int stopUsingNetworkFeature(int networkType, String feature)
           
 
Methods inherited from interface android.os.IInterface
asBinder
 

Method Detail

setNetworkPreference

void setNetworkPreference(int pref)
                          throws RemoteException
Throws:
RemoteException

getNetworkPreference

int getNetworkPreference()
                         throws RemoteException
Throws:
RemoteException

getActiveNetworkInfo

NetworkInfo getActiveNetworkInfo()
                                 throws RemoteException
Throws:
RemoteException

getNetworkInfo

NetworkInfo getNetworkInfo(int networkType)
                           throws RemoteException
Throws:
RemoteException

getAllNetworkInfo

NetworkInfo[] getAllNetworkInfo()
                                throws RemoteException
Throws:
RemoteException

setRadios

boolean setRadios(boolean onOff)
                  throws RemoteException
Throws:
RemoteException

setRadio

boolean setRadio(int networkType,
                 boolean turnOn)
                 throws RemoteException
Throws:
RemoteException

startUsingNetworkFeature

int startUsingNetworkFeature(int networkType,
                             String feature)
                             throws RemoteException
Throws:
RemoteException

stopUsingNetworkFeature

int stopUsingNetworkFeature(int networkType,
                            String feature)
                            throws RemoteException
Throws:
RemoteException

requestRouteToHost

boolean requestRouteToHost(int networkType,
                           int hostAddress)
                           throws RemoteException
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature