經安全檢測,此網站為安全網站,請放心前往原始網址!

Determining and Monitoring the Connectivity Status | Android ...

By querying the type of the active network, as shown below, you can alter your refresh rate based on the bandwidth available. boolean isWiFi = activeNetwork.

developer.android.com

網址安全性掃描由 google 提供