Interface ConnectivityMonitor.ConnectivityListener

  • Enclosing interface:
    ConnectivityMonitor

    public static interface ConnectivityMonitor.ConnectivityListener
    An interface for listening to network connectivity events picked up by the monitor.
    • Method Detail

      • onConnectivityChanged

        void onConnectivityChanged​(boolean isConnected)
        Called when the connectivity state changes.
        Parameters:
        isConnected - True if we're currently connected to a network, false otherwise.