com.brightcove.player.network

## Interface ConnectivityMonitor.Listener

- Enclosing class:
    ConnectivityMonitor

      public static interface ConnectivityMonitor.Listener

  The contract of a listener that can receive callback notifications from the `ConnectivityMonitor`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onConnectivityChanged(boolean connected, android.net.NetworkInfo networkInfo)` This method will be called whenever the host device's network connectivity state changes.

- - ### Method Detail

    - #### onConnectivityChanged

          void onConnectivityChanged(boolean connected,
                                     @Nullable
                                     android.net.NetworkInfo networkInfo)

      This method will be called whenever the host device's network connectivity state changes.
      Parameters:
        `connected` - true if the host is currently connected to the network.
        `networkInfo` - detailed information about the current network connection.