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

? Examples
ApplicationErrorReport.AnrInfo()
Create an uninitialized instance of AnrInfo.

? Examples
ApplicationErrorReport.AnrInfo( Parcel in)
Create an instance of AnrInfo initialized from a Parcel.
Public Methods

? Examples
void dump( Printer pw, String prefix)
Dump an AnrInfo instance to a Printer.

? Examples
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.

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.