Condividi tramite


TrafficStats.ThreadStatsTag Property

Definition

Get the active tag used when accounting Socket traffic originating from the current thread. -or- Set active tag to use when accounting Socket traffic originating from the current thread.

public static int ThreadStatsTag { [Android.Runtime.Register("getThreadStatsTag", "()I", "")] get; [Android.Runtime.Register("setThreadStatsTag", "(I)V", "")] set; }
[<get: Android.Runtime.Register("getThreadStatsTag", "()I", "")>]
[<set: Android.Runtime.Register("setThreadStatsTag", "(I)V", "")>]
static member ThreadStatsTag : int with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Java documentation for android.net.TrafficStats.getThreadStatsTag().

Property setter documentation:

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