NetworkMonitorAutoDetect

constructor(observer: NetworkChangeDetector.Observer, context: Context)

Constructs a NetworkMonitorAutoDetect. Should only be called on UI thread.