Sdílet prostřednictvím


TrafficStats.GetUidRxPackets(Int32) Method

Definition

Return number of packets received by the given UID since device boot.

[Android.Runtime.Register("getUidRxPackets", "(I)J", "")]
public static long GetUidRxPackets (int uid);
[<Android.Runtime.Register("getUidRxPackets", "(I)J", "")>]
static member GetUidRxPackets : int -> int64

Parameters

uid
Int32

Returns

Attributes

Remarks

Java documentation for android.net.TrafficStats.getUidRxPackets(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also