I came across registerDefaultNetworkCallback and registerNetworkCallback while updating my Android app for API 28.
Having reviewed the documentation, I cannot find t
As far as I've understood, and aside of the information provided by @MihaiV , there's another difference between them.
ConnectivityManager.registerDefaultNetworkCallback() was added in API 24 (or 26, depending if you use it along a Handler).
And ConnectivityManager.registerNetworkCallback() was added in API 21 (or API 23 if used along a NetworkRequest.