Share via


ProfilingTrigger.Builder(Int32) Constructor

Definition

Create a new builder instance to create a ProfilingTrigger object.

[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=36)]
public Builder(int triggerType);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=36)>]
new Android.OS.ProfilingTrigger.Builder : int -> Android.OS.ProfilingTrigger.Builder

Parameters

triggerType
Int32
Attributes

Remarks

Create a new builder instance to create a ProfilingTrigger object.

Requires a trigger type. An app can only have one registered trigger per trigger type. Adding a new trigger with the same type will override the previously set one.

Java documentation for android.os.ProfilingTrigger.Builder.ProfilingTrigger$Builder(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