DefaultConnectivityMonitorFactory

open class DefaultConnectivityMonitorFactory : ConnectivityMonitorFactory

A factory class that produces a functional com.bumptech.glide.manager.ConnectivityMonitor if the application has the android.permission.ACCESS_NETWORK_STATE permission and a no-op non functional com.bumptech.glide.manager.ConnectivityMonitor if the app does not have the required permission.

Functions

Link copied to clipboard
open fun build(context: Context, listener: ConnectivityMonitor.ConnectivityListener): ConnectivityMonitor