MLQ
MLQ

Reputation: 13511

What's the difference between getMobileTx/RxBytes() and getTotalTx/RxBytes() in TrafficStats?

The first two methods talk about a "mobile interface" and the other two about "all network interfaces." What do those mean?

Upvotes: 0

Views: 120

Answers (1)

Jon Skeet
Jon Skeet

Reputation: 1501163

I would expect "all network interfaces" to include WiFi (and wired if the device happens to support that), but "mobile interface" only to include data via a cell connection (3G, GPRS etc).

Upvotes: 2

Related Questions