Freigeben über


TrafficStats.GetUidTxPackets(Int32) Method

Definition

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

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

Parameters

uid
Int32

Returns

Attributes

Remarks

Java documentation for android.net.TrafficStats.getUidTxPackets(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