StatsLog.LogEvent(Int32) Method

Definition

Logs an event that does not represent a start or stop boundary.

[Android.Runtime.Register("logEvent", "(I)Z", "", ApiSince=28)]
public static bool LogEvent (int label);
[<Android.Runtime.Register("logEvent", "(I)Z", "", ApiSince=28)>]
static member LogEvent : int -> bool

Parameters

label
Int32

developer-chosen label.

Returns

True if the log request was sent to statsd.

Attributes

Remarks

Logs an event that does not represent a start or stop boundary.

Java documentation for android.util.StatsLog.logEvent(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