語言

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。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於