共用方式為


TrafficStats.GetUidTxBytes(Int32) Method

Definition

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

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

Parameters

uid
Int32

Returns

Attributes

Remarks

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