fun removeOnWifiConnectedChangedListener(onWifiChanged: (Boolean) -> Unit) { callbacks.remove(onWifiChanged) } }
Removes [onWifiChanged] from the list of listeners to be called whenever WIFI connects or disconnects.