Sdílet prostřednictvím


TrafficStats.IncrementOperationCount Method

Definition

Overloads

IncrementOperationCount(Int32, Int32)

Increment count of network operations performed under the given accounting tag.

IncrementOperationCount(Int32)

Increment count of network operations performed under the accounting tag currently active on the calling thread.

IncrementOperationCount(Int32, Int32)

Increment count of network operations performed under the given accounting tag.

[Android.Runtime.Register("incrementOperationCount", "(II)V", "")]
public static void IncrementOperationCount (int tag, int operationCount);
[<Android.Runtime.Register("incrementOperationCount", "(II)V", "")>]
static member IncrementOperationCount : int * int -> unit

Parameters

tag
Int32

Accounting tag used in #setThreadStatsTag(int).

operationCount
Int32

Number of operations to increment count by.

Attributes

Remarks

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

IncrementOperationCount(Int32)

Increment count of network operations performed under the accounting tag currently active on the calling thread.

[Android.Runtime.Register("incrementOperationCount", "(I)V", "")]
public static void IncrementOperationCount (int operationCount);
[<Android.Runtime.Register("incrementOperationCount", "(I)V", "")>]
static member IncrementOperationCount : int -> unit

Parameters

operationCount
Int32

Number of operations to increment count by.

Attributes

Remarks

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