다음을 통해 공유


TrafficStats.GetRxBytes(String) Method

Definition

Return the number of bytes received on the specified interface since the interface was created.

[Android.Runtime.Register("getRxBytes", "(Ljava/lang/String;)J", "", ApiSince=31)]
public static long GetRxBytes (string iface);
[<Android.Runtime.Register("getRxBytes", "(Ljava/lang/String;)J", "", ApiSince=31)>]
static member GetRxBytes : string -> int64

Parameters

iface
String

The name of the interface.

Returns

The number of received bytes.

Attributes

Remarks

Java documentation for android.net.TrafficStats.getRxBytes(java.lang.String).

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