Share via


ProfilingTrigger.TriggerTypeAnr Field

Definition

Caution

This constant will be removed in the future version. Use Android.OS.ProfilingTriggerType enum directly instead of this field.

Trigger occurs after an ANR has been identified, but before the system would attempt to kill the app.

[Android.Runtime.Register("TRIGGER_TYPE_ANR", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.ProfilingTriggerType enum directly instead of this field.", true)]
public const Android.OS.ProfilingTriggerType TriggerTypeAnr = 2;
[<Android.Runtime.Register("TRIGGER_TYPE_ANR", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.ProfilingTriggerType enum directly instead of this field.", true)>]
val mutable TriggerTypeAnr : Android.OS.ProfilingTriggerType

Field Value

Value = 2
Attributes

Remarks

Trigger occurs after an ANR has been identified, but before the system would attempt to kill the app. The trigger does not necessarily indicate that the app was killed due to the ANR.

Java documentation for android.os.ProfilingTrigger.TRIGGER_TYPE_ANR.

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