Returns true if current network conditions meet the "constrained" heuristics. This is a fast, synchronous check based on the last observed snapshot.
true
if (isConstrainedNetwork()) { // Skip auto-playing HD video, fetch smaller images, etc. enableDataLightMode();} Copy
if (isConstrainedNetwork()) { // Skip auto-playing HD video, fetch smaller images, etc. enableDataLightMode();}
Returns
true
if current network conditions meet the "constrained" heuristics. This is a fast, synchronous check based on the last observed snapshot.