Dela via


Trace.SetCounter(String, Int64) Method

Definition

Writes trace message to indicate the value of a given counter.

[Android.Runtime.Register("setCounter", "(Ljava/lang/String;J)V", "", ApiSince=29)]
public static void SetCounter (string counterName, long counterValue);
[<Android.Runtime.Register("setCounter", "(Ljava/lang/String;J)V", "", ApiSince=29)>]
static member SetCounter : string * int64 -> unit

Parameters

counterName
String

The counter name to appear in the trace.

counterValue
Int64

The counter value.

Attributes

Remarks

Writes trace message to indicate the value of a given counter.

Java documentation for android.os.Trace.setCounter(java.lang.String, long).

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