Modifier and Type | Field and Description |
---|---|
NetworkCapabilities |
NetworkRequest.networkCapabilities
The
NetworkCapabilities that define this request. |
Modifier and Type | Method and Description |
---|---|
NetworkCapabilities |
ConnectivityManager.getNetworkCapabilities(Network network)
Get the
NetworkCapabilities for the given Network. |
Modifier and Type | Method and Description |
---|---|
protected void |
ConnectivityManager.doNotifyCapabilitiesChange(Network network,
NetworkCapabilities capabilities,
ConnectivityManager.NetworkCallback[] networkCallBacks)
Notify the callback of a capabilities change.
|
protected void |
ConnectivityManager.notifyNetworkCallbacks(Network network,
NetworkCapabilities capabilities)
Notifies a network capability change.
|
void |
ConnectivityManager.NetworkCallback.onCapabilitiesChanged(Network network,
NetworkCapabilities networkCapabilities)
Called when the network the framework connected to for this request changes capabilities but still satisfies
the stated need.
|