Partager via


Instrumentation.StartProfiling Method

Definition

This method will start profiling if isProfiling() returns true.

[Android.Runtime.Register("startProfiling", "()V", "GetStartProfilingHandler")]
public virtual void StartProfiling ();
[<Android.Runtime.Register("startProfiling", "()V", "GetStartProfilingHandler")>]
abstract member StartProfiling : unit -> unit
override this.StartProfiling : unit -> unit
Attributes

Remarks

This method will start profiling if isProfiling() returns true. You should only call this method if you set the handleProfiling attribute in the manifest file for this Instrumentation to true.

Java documentation for android.app.Instrumentation.startProfiling().

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