Android.Net.TrafficStats.TotalRxPackets Property
Return number of packets received since device boot.

Syntax

[get: Android.Runtime.Register("getTotalRxPackets", "()J", "GetGetTotalRxPacketsHandler")]
public static long TotalRxPackets { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Return number of packets received 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.

[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