Home | History | Annotate | Download | only in changes
      1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
      2 <HTML style="overflow:auto;">
      3 <HEAD>
      4 <meta name="generator" content="JDiff v1.1.0">
      5 <!-- Generated by the JDiff Javadoc doclet -->
      6 <!-- (http://www.jdiff.org) -->
      7 <meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.">
      8 <meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet">
      9 <TITLE>
     10 android.net.ConnectivityManager
     11 </TITLE>
     12 <link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
     13 <link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" />
     14 <noscript>
     15 <style type="text/css">
     16 body{overflow:auto;}
     17 #body-content{position:relative; top:0;}
     18 #doc-content{overflow:visible;border-left:3px solid #666;}
     19 #side-nav{padding:0;}
     20 #side-nav .toggle-list ul {display:block;}
     21 #resize-packages-nav{border-bottom:3px solid #666;}
     22 </style>
     23 </noscript>
     24 <style type="text/css">
     25 </style>
     26 </HEAD>
     27 <BODY>
     28 <!-- Start of nav bar -->
     29 <a name="top"></a>
     30 <div id="header" style="margin-bottom:0;padding-bottom:0;">
     31 <div id="headerLeft">
     32 <a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a>
     33 </div>
     34   <div id="headerRight">
     35   <div id="headerLinks">
     36 <!-- <img src="/assets/images/icon_world.jpg" alt="" /> -->
     37 <span class="text">
     38 <!-- &nbsp;<a href="#">English</a> | -->
     39 <nobr><a href="http://developer.android.com" target="_top">Android Developers</a> | <a href="http://www.android.com" target="_top">Android.com</a></nobr>
     40 </span>
     41 </div>
     42   <div class="and-diff-id" style="margin-top:6px;margin-right:8px;">
     43     <table class="diffspectable">
     44       <tr>
     45         <td colspan="2" class="diffspechead">API Diff Specification</td>
     46       </tr>
     47       <tr>
     48         <td class="diffspec" style="padding-top:.25em">To Level:</td>
     49         <td class="diffvaluenew" style="padding-top:.25em">23</td>
     50       </tr>
     51       <tr>
     52         <td class="diffspec">From Level:</td>
     53         <td class="diffvalueold">22</td>
     54       </tr>
     55       <tr>
     56         <td class="diffspec">Generated</td>
     57         <td class="diffvalue">2015.08.14 14:28</td>
     58       </tr>
     59     </table>
     60     </div><!-- End and-diff-id -->
     61   <div class="and-diff-id" style="margin-right:8px;">
     62     <table class="diffspectable">
     63       <tr>
     64         <td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a>
     65       </tr>
     66     </table>
     67   </div> <!-- End and-diff-id -->
     68   </div> <!-- End headerRight -->
     69   </div> <!-- End header -->
     70 <div id="body-content" xstyle="padding:12px;padding-right:18px;">
     71 <div id="doc-content" style="position:relative;">
     72 <div id="mainBodyFluid">
     73 <H2>
     74 Class android.net.<A HREF="../../../../reference/android/net/ConnectivityManager.html" target="_top"><font size="+2"><code>ConnectivityManager</code></font></A>
     75 </H2>
     76 <a NAME="constructors"></a>
     77 <a NAME="methods"></a>
     78 <p>
     79 <a NAME="Added"></a>
     80 <TABLE summary="Added Methods" WIDTH="100%">
     81 <TR>
     82   <TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD>
     83 </TH>
     84 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     85   <TD VALIGN="TOP" WIDTH="25%">
     86   <A NAME="android.net.ConnectivityManager.bindProcessToNetwork_added(android.net.Network)"></A>
     87   <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#bindProcessToNetwork(android.net.Network)" target="_top"><code>bindProcessToNetwork</code></A>(<code>Network</code>)</nobr>
     88   </TD>
     89   <TD>&nbsp;</TD>
     90 </TR>
     91 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     92   <TD VALIGN="TOP" WIDTH="25%">
     93   <A NAME="android.net.ConnectivityManager.getActiveNetwork_added()"></A>
     94   <nobr><code>Network</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#getActiveNetwork()" target="_top"><code>getActiveNetwork</code></A>()</nobr>
     95   </TD>
     96   <TD>&nbsp;</TD>
     97 </TR>
     98 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     99   <TD VALIGN="TOP" WIDTH="25%">
    100   <A NAME="android.net.ConnectivityManager.getBoundNetworkForProcess_added()"></A>
    101   <nobr><code>Network</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#getBoundNetworkForProcess()" target="_top"><code>getBoundNetworkForProcess</code></A>()</nobr>
    102   </TD>
    103   <TD>&nbsp;</TD>
    104 </TR>
    105 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    106   <TD VALIGN="TOP" WIDTH="25%">
    107   <A NAME="android.net.ConnectivityManager.getDefaultProxy_added()"></A>
    108   <nobr><code>ProxyInfo</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#getDefaultProxy()" target="_top"><code>getDefaultProxy</code></A>()</nobr>
    109   </TD>
    110   <TD>&nbsp;</TD>
    111 </TR>
    112 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    113   <TD VALIGN="TOP" WIDTH="25%">
    114   <A NAME="android.net.ConnectivityManager.registerNetworkCallback_added(android.net.NetworkRequest, android.app.PendingIntent)"></A>
    115   <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#registerNetworkCallback(android.net.NetworkRequest, android.app.PendingIntent)" target="_top"><code>registerNetworkCallback</code></A>(<code>NetworkRequest,</nobr> PendingIntent<nobr><nobr></code>)</nobr>
    116   </TD>
    117   <TD>&nbsp;</TD>
    118 </TR>
    119 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    120   <TD VALIGN="TOP" WIDTH="25%">
    121   <A NAME="android.net.ConnectivityManager.reportNetworkConnectivity_added(android.net.Network, boolean)"></A>
    122   <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#reportNetworkConnectivity(android.net.Network, boolean)" target="_top"><code>reportNetworkConnectivity</code></A>(<code>Network,</nobr> boolean<nobr><nobr></code>)</nobr>
    123   </TD>
    124   <TD>&nbsp;</TD>
    125 </TR>
    126 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    127   <TD VALIGN="TOP" WIDTH="25%">
    128   <A NAME="android.net.ConnectivityManager.requestBandwidthUpdate_added(android.net.Network)"></A>
    129   <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#requestBandwidthUpdate(android.net.Network)" target="_top"><code>requestBandwidthUpdate</code></A>(<code>Network</code>)</nobr>
    130   </TD>
    131   <TD>&nbsp;</TD>
    132 </TR>
    133 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    134   <TD VALIGN="TOP" WIDTH="25%">
    135   <A NAME="android.net.ConnectivityManager.unregisterNetworkCallback_added(android.app.PendingIntent)"></A>
    136   <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#unregisterNetworkCallback(android.app.PendingIntent)" target="_top"><code>unregisterNetworkCallback</code></A>(<code>PendingIntent</code>)</nobr>
    137   </TD>
    138   <TD>&nbsp;</TD>
    139 </TR>
    140 </TABLE>
    141 &nbsp;
    142 <p>
    143 <a NAME="Changed"></a>
    144 <TABLE summary="Changed Methods" WIDTH="100%">
    145 <TR>
    146   <TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD>
    147 </TH>
    148 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    149   <TD VALIGN="TOP" WIDTH="25%">
    150   <A NAME="android.net.ConnectivityManager.getAllNetworkInfo_changed()"></A>
    151   <nobr><code>NetworkInfo[]</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#getAllNetworkInfo()" target="_top"><code>getAllNetworkInfo</code></A>()  </nobr>
    152   </TD>
    153   <TD VALIGN="TOP" WIDTH="30%">
    154 <b>Now deprecated</b>.<br>
    155   </TD>
    156   <TD>&nbsp;</TD>
    157 </TR>
    158 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    159   <TD VALIGN="TOP" WIDTH="25%">
    160   <A NAME="android.net.ConnectivityManager.getProcessDefaultNetwork_changed()"></A>
    161   <nobr><code>Network</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#getProcessDefaultNetwork()" target="_top"><code>getProcessDefaultNetwork</code></A>()  </nobr>
    162   </TD>
    163   <TD VALIGN="TOP" WIDTH="30%">
    164 <b>Now deprecated</b>.<br>
    165   </TD>
    166   <TD>&nbsp;</TD>
    167 </TR>
    168 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    169   <TD VALIGN="TOP" WIDTH="25%">
    170   <A NAME="android.net.ConnectivityManager.isNetworkTypeValid_changed(int)"></A>
    171   <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#isNetworkTypeValid(int)" target="_top"><code>isNetworkTypeValid</code></A>(<code>int</code>)  </nobr>
    172   </TD>
    173   <TD VALIGN="TOP" WIDTH="30%">
    174 <b>Now deprecated</b>.<br>
    175   </TD>
    176   <TD>&nbsp;</TD>
    177 </TR>
    178 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    179   <TD VALIGN="TOP" WIDTH="25%">
    180   <A NAME="android.net.ConnectivityManager.reportBadNetwork_changed(android.net.Network)"></A>
    181   <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#reportBadNetwork(android.net.Network)" target="_top"><code>reportBadNetwork</code></A>(<code>Network</code>)  </nobr>
    182   </TD>
    183   <TD VALIGN="TOP" WIDTH="30%">
    184 <b>Now deprecated</b>.<br>
    185   </TD>
    186   <TD>&nbsp;</TD>
    187 </TR>
    188 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    189   <TD VALIGN="TOP" WIDTH="25%">
    190   <A NAME="android.net.ConnectivityManager.setProcessDefaultNetwork_changed(android.net.Network)"></A>
    191   <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#setProcessDefaultNetwork(android.net.Network)" target="_top"><code>setProcessDefaultNetwork</code></A>(<code>Network</code>)  </nobr>
    192   </TD>
    193   <TD VALIGN="TOP" WIDTH="30%">
    194 <b>Now deprecated</b>.<br>
    195   </TD>
    196   <TD>&nbsp;</TD>
    197 </TR>
    198 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    199   <TD VALIGN="TOP" WIDTH="25%">
    200   <A NAME="android.net.ConnectivityManager.getNetworkInfo_changed(int)"></A>
    201   <nobr><code>NetworkInfo</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#getNetworkInfo(int)" target="_top"><code>getNetworkInfo</code></A>(<code>int</code>)  </nobr>
    202   </TD>
    203   <TD VALIGN="TOP" WIDTH="30%">
    204 <b>Now deprecated</b>.<br>
    205   </TD>
    206   <TD>&nbsp;</TD>
    207 </TR>
    208 </TABLE>
    209 &nbsp;
    210 <a NAME="fields"></a>
    211 <p>
    212 <a NAME="Added"></a>
    213 <TABLE summary="Added Fields" WIDTH="100%">
    214 <TR>
    215   <TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD>
    216 </TH>
    217 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    218   <TD VALIGN="TOP" WIDTH="25%">
    219   <A NAME="android.net.ConnectivityManager.ACTION_CAPTIVE_PORTAL_SIGN_IN"></A>
    220   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#ACTION_CAPTIVE_PORTAL_SIGN_IN" target="_top"><code>ACTION_CAPTIVE_PORTAL_SIGN_IN</code></A></nobr>
    221   </TD>
    222   <TD>&nbsp;</TD>
    223 </TR>
    224 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    225   <TD VALIGN="TOP" WIDTH="25%">
    226   <A NAME="android.net.ConnectivityManager.EXTRA_CAPTIVE_PORTAL"></A>
    227   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#EXTRA_CAPTIVE_PORTAL" target="_top"><code>EXTRA_CAPTIVE_PORTAL</code></A></nobr>
    228   </TD>
    229   <TD>&nbsp;</TD>
    230 </TR>
    231 </TABLE>
    232 &nbsp;
    233 <p>
    234 <a NAME="Changed"></a>
    235 <TABLE summary="Changed Fields" WIDTH="100%">
    236 <TR>
    237   <TH VALIGN="TOP" COLSPAN=3>Changed Fields</FONT></TD>
    238 </TH>
    239 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    240   <TD VALIGN="TOP" WIDTH="25%">
    241   <A NAME="android.net.ConnectivityManager.TYPE_MOBILE_HIPRI"></A>
    242   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#TYPE_MOBILE_HIPRI" target="_top"><code>TYPE_MOBILE_HIPRI</code></font></A></nobr>  </TD>
    243   <TD VALIGN="TOP" WIDTH="30%">
    244 <b>Now deprecated</b>.<br>
    245   </TD>
    246   <TD>&nbsp;</TD>
    247 </TR>
    248 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    249   <TD VALIGN="TOP" WIDTH="25%">
    250   <A NAME="android.net.ConnectivityManager.TYPE_MOBILE_MMS"></A>
    251   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#TYPE_MOBILE_MMS" target="_top"><code>TYPE_MOBILE_MMS</code></font></A></nobr>  </TD>
    252   <TD VALIGN="TOP" WIDTH="30%">
    253 <b>Now deprecated</b>.<br>
    254   </TD>
    255   <TD>&nbsp;</TD>
    256 </TR>
    257 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    258   <TD VALIGN="TOP" WIDTH="25%">
    259   <A NAME="android.net.ConnectivityManager.TYPE_MOBILE_SUPL"></A>
    260   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/net/ConnectivityManager.html#TYPE_MOBILE_SUPL" target="_top"><code>TYPE_MOBILE_SUPL</code></font></A></nobr>  </TD>
    261   <TD VALIGN="TOP" WIDTH="30%">
    262 <b>Now deprecated</b>.<br>
    263   </TD>
    264   <TD>&nbsp;</TD>
    265 </TR>
    266 </TABLE>
    267 &nbsp;
    268       </div>	
    269       <div id="footer">
    270         <div id="copyright">
    271         Except as noted, this content is licensed under 
    272         <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
    273         For details and restrictions, see the <a href="/license.html">Content License</a>.
    274         </div>
    275       <div id="footerlinks">
    276       <p>
    277         <a href="http://www.android.com/terms.html">Site Terms of Service</a> -
    278         <a href="http://www.android.com/privacy.html">Privacy Policy</a> -
    279         <a href="http://www.android.com/branding.html">Brand Guidelines</a>
    280       </p>
    281     </div>
    282     </div> <!-- end footer -->
    283     </div><!-- end doc-content -->
    284     </div> <!-- end body-content --> 
    285 <script src="http://www.google-analytics.com/ga.js" type="text/javascript">
    286 </script>
    287 <script type="text/javascript">
    288   try {
    289     var pageTracker = _gat._getTracker("UA-5831155-1");
    290     pageTracker._setAllowAnchor(true);
    291     pageTracker._initData();
    292     pageTracker._trackPageview();
    293   } catch(e) {}
    294 </script>
    295 </BODY>
    296 </HTML>
    297