语言

AnrWarningResult.Description 属性

定义

提供 ANR 警告上下文的简短说明字符串。

public string Description { [Android.Runtime.Register("getDescription", "()Ljava/lang/String;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getDescription", "()Ljava/lang/String;", "", ApiSince=37)>]
member this.Description : string

属性值

提供 ANR 警告上下文的简短说明字符串。

特性

注解

提供 ANR 警告上下文的简短说明字符串。

此字符串包含 ANR 的调试信息,不能保证其稳定,并且可能会在将来的 Android 版本中更改。

虽然格式不稳定,但说明对于类似 ANR 的聚类分析报表很有用。 例如,对于与广播接收器相关的 ANR,说明可能如下所示:“Intent { act=com.example.MY_ACTION flg=0x10 }”

Android 参考。android.app.AnrWarningResult.getDescription

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

适用于