android.net.ConnectivityManager
Description: 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.
Keywords: diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet

Android Developers | Android.com

API Diff Specification
To Level: | 21
From Level: | 20
Generated | 2014.10.15 15:01

Statistics

## Class android.net.`ConnectivityManager`

Added Methods
`void` `addDefaultNetworkActiveListener`(`OnNetworkActiveListener`) |
`Network[]` `getAllNetworks`() |
`LinkProperties` `getLinkProperties`(`Network`) |
`NetworkCapabilities` `getNetworkCapabilities`(`Network`) |
`NetworkInfo` `getNetworkInfo`(`Network`) |
`Network` `getProcessDefaultNetwork`() |
`boolean` `isDefaultNetworkActive`() |
`void` `registerNetworkCallback`(`NetworkRequest,` NetworkCallback) |
`void` `removeDefaultNetworkActiveListener`(`OnNetworkActiveListener`) |
`void` `reportBadNetwork`(`Network`) |
`void` `requestNetwork`(`NetworkRequest,` NetworkCallback) |
`boolean` `setProcessDefaultNetwork`(`Network`) |
`void` `unregisterNetworkCallback`(`NetworkCallback`) |

Changed Methods
`int` `getNetworkPreference`() | Now deprecated. |
`boolean` `requestRouteToHost`(`int,` int) | Now deprecated. |
`void` `setNetworkPreference`(`int`) | Now deprecated. |
`int` `startUsingNetworkFeature`(`int,` String) | Now deprecated. |
`int` `stopUsingNetworkFeature`(`int,` String) | Now deprecated. |

Added Fields
`int` `TYPE_VPN` |