-
public interface ConnectivityChecker.CallBackCallback interface for receiving network connection events.Implementations are notified when a network connection is detectedvia the `onNetworkDetected` method.
-
-
Method Summary
Modifier and Type Method Description abstract voidonNetworkDetected(ConnectivityChecker.NetworkType network)Called when a network connection is detected.This method is invoked when the device establishes a connection to a network.It provides information about the type of network that has been detected. -
-
Method Detail
-
onNetworkDetected
abstract void onNetworkDetected(ConnectivityChecker.NetworkType network)
Called when a network connection is detected.This method is invoked when the device establishes a connection to a network.It provides information about the type of network that has been detected.
- Parameters:
network- The type of network that has been detected.
-
-
-
-