Package com.microej.kernel.green.net

## Class OnNetworkStateChanged

- java.lang.Object
- - android.net.ConnectivityManager.NetworkCallback
  - - com.microej.kernel.green.net.OnNetworkStateChanged

-     public class OnNetworkStateChanged
      extends android.net.ConnectivityManager.NetworkCallback

  Listen to network status changes. When connected list available network interfaces.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `OnNetworkStateChanged()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onAvailable​(android.net.Network network)` |
    `void` | `onLost​(android.net.Network network)` |

    - ### Methods inherited from class android.net.ConnectivityManager.NetworkCallback

      `onCapabilitiesChanged`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### OnNetworkStateChanged

          public OnNetworkStateChanged()

  - ### Method Detail

    - #### onAvailable

          public void onAvailable​(android.net.Network network)

      Overrides:
        `onAvailable` in class `android.net.ConnectivityManager.NetworkCallback`

    - #### onLost

          public void onLost​(android.net.Network network)

      Overrides:
        `onLost` in class `android.net.ConnectivityManager.NetworkCallback`