com.bumptech.glide.manager
Class ConnectivityMonitorFactory
java.lang.Object
com.bumptech.glide.manager.ConnectivityMonitorFactory
public class ConnectivityMonitorFactory
- extends Object
A factory class that produces a functional ConnectivityMonitor
if the application
has the android.permission.ACCESS_NETWORK_STATE
permission and a no-op non functional
ConnectivityMonitor
if the app does not have the required permission.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectivityMonitorFactory
public ConnectivityMonitorFactory()
build
public ConnectivityMonitor build(Context context,
ConnectivityMonitor.ConnectivityListener listener)