ProfilingManager.RequestRunningSystemTrace(String) Method

Definition

Request a snapshot of a background trace, if one is running.

[Android.Runtime.Register("requestRunningSystemTrace", "(Ljava/lang/String;)V", "", ApiSince=36)]
public void RequestRunningSystemTrace(string? tag);
[<Android.Runtime.Register("requestRunningSystemTrace", "(Ljava/lang/String;)V", "", ApiSince=36)>]
member this.RequestRunningSystemTrace : string -> unit

Parameters

tag
String
Attributes

Remarks

Request a snapshot of a background trace, if one is running.

This request sends a ProfilingTrigger#TRIGGER_TYPE_APP_REQUEST_RUNNING_TRACE trigger. Apps must register interest in this trigger in order to receive the result using either #addProfilingTriggers or #addAllProfilingTriggers().

Java documentation for android.os.ProfilingManager.requestRunningSystemTrace(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