NetworkMonitor

fun NetworkMonitor(context: Context): <Error class: unknown class>

Returns a new NetworkMonitor for the given Context

In order to work correctly, this requires:

If one of these conditions is not satisfied, the returned NetworkMonitor will behave as if the device were always online.