- uid
- Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Return number of bytes received by the given UID since device boot. Counts packets across all network interfaces, and always increases monotonically since device boot. Statistics are measured at the network layer, so they include both TCP and UDP usage.
Before NoType:android/os/Build$VERSION_CODES;Href=../../../reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN_MR2, this may return TrafficStats.Unsupported on devices where statistics aren't available.