A B C D E G H I L N O R S U 
All Classes All Packages

A

addCapability(int) - Method in class android.net.NetworkRequest.Builder
The capability to add.
addNetwork(Network) - Method in class android.net.ConnectivityManager
Add new network without changing the current active network.
android.net - package android.net
 

B

build() - Method in class android.net.NetworkRequest.Builder
Build NetworkRequest give the current set of capabilities.
Builder() - Constructor for class android.net.NetworkRequest.Builder
Default constructor for Builder.

C

ConnectivityManager - Class in android.net
Class that answers queries about the state of network connectivity.
ConnectivityManager() - Constructor for class android.net.ConnectivityManager
 
ConnectivityManager.NetworkCallback - Class in android.net
Base class for NetworkRequest callbacks.

D

doNotifyAvailabilityChange(Network, boolean, ConnectivityManager.NetworkCallback[]) - Method in class android.net.ConnectivityManager
Notify the networkCallbacks about an availability change.
doNotifyCapabilitiesChange(Network, NetworkCapabilities, ConnectivityManager.NetworkCallback[]) - Method in class android.net.ConnectivityManager
Notify the callback of a capabilities change.

E

equals(Object) - Method in class android.net.NetworkCapabilities
 
equals(Object) - Method in class android.net.NetworkRequest
 

G

getActiveNetwork() - Method in class android.net.ConnectivityManager
Returns a Network object corresponding to the currently active default data network.
getActiveNetworkInfo() - Method in class android.net.ConnectivityManager
Returns details about the currently active default data network.
getAllNetworks() - Method in class android.net.ConnectivityManager
Returns an array of all Network currently tracked by the framework.
getCapabilities() - Method in class android.net.NetworkCapabilities
Gets the capabilities.
getNetworkCapabilities(Network) - Method in class android.net.ConnectivityManager
Get the NetworkCapabilities for the given Network.
getNetworkInfo(Network) - Method in class android.net.ConnectivityManager
Returns connection status information about a particular Network.

H

hasCapability(int) - Method in class android.net.NetworkCapabilities
Tests for the presence of a capability on this instance.
hashCode() - Method in class android.net.NetworkCapabilities
 
hashCode() - Method in class android.net.NetworkRequest
 

I

isConnected() - Method in class android.net.NetworkInfo
Indicates whether network connectivity exists and it is possible to establish connections and pass data.

L

legacyType - Variable in class android.net.NetworkRequest
Set for legacy requests and the default.

N

NET_CAPABILITY_INTERNET - Static variable in class android.net.NetworkCapabilities
Indicates that this network should be able to reach the internet.
Network - Class in android.net
Identifies a Network.
Network() - Constructor for class android.net.Network
 
NetworkCallback() - Constructor for class android.net.ConnectivityManager.NetworkCallback
 
networkCapabilities - Variable in class android.net.NetworkRequest
The NetworkCapabilities that define this request.
NetworkCapabilities - Class in android.net
This class represents the capabilities of a network.
NetworkCapabilities() - Constructor for class android.net.NetworkCapabilities
Instantiates a NetworkCapabilities without capabilities.
NetworkCapabilities(int[]) - Constructor for class android.net.NetworkCapabilities
Instantiates a NetworkCapabilities.
NetworkInfo - Class in android.net
Describes the status of a network interface.
NetworkInfo() - Constructor for class android.net.NetworkInfo
 
NetworkRequest - Class in android.net
NetworkRequest.Builder - Class in android.net
Builder used to create NetworkRequest objects.
notifyNetworkCallbacks(boolean) - Method in class android.net.ConnectivityManager
notifyNetworkCallbacks(Network, boolean) - Method in class android.net.ConnectivityManager
Notifies a network availability change.
notifyNetworkCallbacks(Network, NetworkCapabilities) - Method in class android.net.ConnectivityManager
Notifies a network capability change.

O

onAvailable(Network) - Method in class android.net.ConnectivityManager.NetworkCallback
Called when the framework connects and has declared new network ready for use.
onCapabilitiesChanged(Network, NetworkCapabilities) - Method in class android.net.ConnectivityManager.NetworkCallback
Called when the network the framework connected to for this request changes capabilities but still satisfies the stated need.
onLost(Network) - Method in class android.net.ConnectivityManager.NetworkCallback
Called when the framework has a hard loss of the network or when the graceful failure ends.

R

registerDefaultNetworkCallback(ConnectivityManager.NetworkCallback) - Method in class android.net.ConnectivityManager
Registers to receive notifications about changes in the system default network.
registerNetworkCallback(NetworkRequest, ConnectivityManager.NetworkCallback) - Method in class android.net.ConnectivityManager
Registers to receive notifications about all networks which satisfy the given NetworkRequest.
removeCapability(int) - Method in class android.net.NetworkRequest.Builder
Removes (if found) the given capability from this builder instance.
requestId - Variable in class android.net.NetworkRequest
Identifies the request.

S

setActiveNetwork(Network) - Method in class android.net.ConnectivityManager
Sets the active network.
setAvailable(boolean, Network, NetworkInfo) - Method in class android.net.ConnectivityManager
Sets the network availability.
setCapabilities(int[]) - Method in class android.net.NetworkCapabilities
Sets the capabilities.

U

unregisterNetworkCallback(ConnectivityManager.NetworkCallback) - Method in class android.net.ConnectivityManager
Unregisters callbacks about and possibly releases networks originating from ConnectivityManager.registerNetworkCallback(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback) calls.
A B C D E G H I L N O R S U 
All Classes All Packages