to top
Android APIs
public static class

ApplicationErrorReport.AnrInfo

extends Object
java.lang.Object
   ↳ android.app.ApplicationErrorReport.AnrInfo

Class Overview

Describes an application not responding error.

Summary

Fields
public String activity Activity name.
public String cause Description of the operation that timed out.
public String info Additional info, including CPU stats.
Public Constructors
ApplicationErrorReport.AnrInfo()
Create an uninitialized instance of AnrInfo.
ApplicationErrorReport.AnrInfo(Parcel in)
Create an instance of AnrInfo initialized from a Parcel.
Public Methods
void dump(Printer pw, String prefix)
Dump an AnrInfo instance to a Printer.
void writeToParcel(Parcel dest, int flags)
Save an AnrInfo instance to a parcel.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public String activity

Added in API level 14

Activity name.

public String cause

Added in API level 14

Description of the operation that timed out.

public String info

Added in API level 14

Additional info, including CPU stats.

Public Constructors

public ApplicationErrorReport.AnrInfo ()

Added in API level 14

Create an uninitialized instance of AnrInfo.

public ApplicationErrorReport.AnrInfo (Parcel in)

Added in API level 14

Create an instance of AnrInfo initialized from a Parcel.

Public Methods

public void dump (Printer pw, String prefix)

Added in API level 14

Dump an AnrInfo instance to a Printer.

public void writeToParcel (Parcel dest, int flags)

Added in API level 14

Save an AnrInfo instance to a parcel.