You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
DeviceBandwidthSampler.getInstance().startSampling();
// Calling API network operation and after success or error from volley response
DeviceBandwidthSampler.getInstance().stopSampling();
mUtils.showInternetQualityIfPoor(); // Now checking bandwidth and showing message
even though when I was in Very god internet quality, it is always showing POOR connection, help me out how can I modify to get exact connection quality
Regards
Vinod
The text was updated successfully, but these errors were encountered:
@sssvrock what does your network operation do? According to the README, "The library does this by listening to the existing internet traffic done by your app and notifying you when the user's connection quality changes." So if you're not downloading much data in between starting/stopping the sampling, it's going to always report a poor connection.
If you're trying to do a generic measurement of network quality, you'll have to ramp up your download operations to the max during the sampling period.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
DeviceBandwidthSampler.getInstance().startSampling();
// Calling API network operation and after success or error from volley response
DeviceBandwidthSampler.getInstance().stopSampling();
mUtils.showInternetQualityIfPoor(); // Now checking bandwidth and showing message
even though when I was in Very god internet quality, it is always showing POOR connection, help me out how can I modify to get exact connection quality
Regards
Vinod
The text was updated successfully, but these errors were encountered: