Package 

Interface ConnectivityChecker.CallBack


  • 
    public interface ConnectivityChecker.CallBack
    
                        

    Callback 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 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.