Language

AnrWarningResult.Description Property

Definition

A short description string providing context for the ANR warning.

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

Property Value

A short description string providing context for the ANR warning.

Attributes

Remarks

A short description string providing context for the ANR warning.

This string contains debugging information for ANR and is not guaranteed to be stable and may change in future Android versions.

While the format is not stable, the description can be useful for clustering reports of similar ANRs. For eg, for an ANR related to be a broadcast receiver, the description might look like: "Broadcast of Intent { act=com.example.MY_ACTION flg=0x10 }"

Android reference for android.app.AnrWarningResult.getDescription.

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