getInstance

open fun getInstance(context: Context): ConnectivityMonitor

Get reference to a cached instance of ConnectivityMonitor.

Return

reference to the connectivity monitor.

Parameters

context

the android context.