ProfilingTrigger.TriggerTypeAnr 字段

定义

注意

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

触发器在确定 ANR 后发生,但在系统尝试终止应用之前。

[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

字段值

Value = 2
属性

注解

触发器在确定 ANR 后发生,但在系统尝试终止应用之前。 触发器不一定指示应用因 ANR 而终止。

Java文档android.os.ProfilingTrigger.TRIGGER_TYPE_ANR

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于