Language

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

An optional tag to pass with the running-system-trace trigger, or null.

Attributes

Remarks

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

This request sends a TriggerTypeAppRequestRunningTrace trigger. Apps must register interest in this trigger in order to receive the result using either AddProfilingTriggers(IList<ProfilingTrigger>) 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