语言

ProfilingTrigger.TriggerTypeAnomaly 字段

定义

注意

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

当系统检测到应用的异常行为时,将发生触发器。

[Android.Runtime.Register("TRIGGER_TYPE_ANOMALY", ApiSince=37)]
[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 TriggerTypeAnomaly = 8;
[<Android.Runtime.Register("TRIGGER_TYPE_ANOMALY", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.ProfilingTriggerType enum directly instead of this field.", true)>]
val mutable TriggerTypeAnomaly : Android.OS.ProfilingTriggerType

字段值

Value = 8
属性

注解

当系统检测到应用的异常行为时,将发生触发器。 异常行为可能跨越所有区域。 返回的项目因异常而异。

使用 ProfilingResult.getTag() 返回的标记将包含有关异常类型的附加信息。

Android 参考。android.os.ProfilingTrigger.TRIGGER_TYPE_ANOMALY

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于