Class NetworkStateCallback
-
- All Implemented Interfaces:
public final class NetworkStateCallback extends ConnectivityManager.NetworkCallbackRepresents the network state callback
-
-
Method Summary
Modifier and Type Method Description UnitonAvailable(Network network)UnitonLost(Network network)final static NetworkStateCallbackgetInstance()-
Methods inherited from class android.net.ConnectivityManager.NetworkCallback
onBlockedStatusChanged, onCapabilitiesChanged, onLinkPropertiesChanged, onLosing, onReserved, onUnavailable -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onAvailable
Unit onAvailable(Network network)
-
onLost
Unit onLost(Network network)
-
getInstance
final static NetworkStateCallback getInstance()
-
-
-
-