Interface NetworkMonitor.OnNetworkChanged

Enclosing class:
NetworkMonitor
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface NetworkMonitor.OnNetworkChanged
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNetworkChanged(boolean network_available)
    Emitted when the network configuration changes.
  • Method Details

    • onNetworkChanged

      void onNetworkChanged(boolean network_available)
      Emitted when the network configuration changes.
      Parameters:
      network_available - the current value of #GNetworkMonitor:network-available