Android.Net.TrafficStats Class
Class that provides network traffic statistics.

See Also: TrafficStats Members

Syntax

[Android.Runtime.Register("android/net/TrafficStats", DoNotGenerateAcw=true)]
public class TrafficStats : Java.Lang.Object

Remarks

Class that provides network traffic statistics. These statistics include bytes transmitted and received and network packets transmitted and received, over all interfaces, over the mobile interface, and on a per-UID basis.

These statistics may not be available on all platforms. If the statistics are not supported by this device, TrafficStats.Unsupported will be returned.

[Android Documentation]

Requirements

Namespace: Android.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8