Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Fields](https://developer.android.com/reference/android/app/ApplicationErrorReport.AnrInfo#lfields) \| [Ctors](https://developer.android.com/reference/android/app/ApplicationErrorReport.AnrInfo#pubctors) \| [Methods](https://developer.android.com/reference/android/app/ApplicationErrorReport.AnrInfo#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/app/ApplicationErrorReport.AnrInfo#inhmethods)

# ApplicationErrorReport.AnrInfo

*** ** * ** ***

` public static class ApplicationErrorReport.AnrInfo `   
` extends https://developer.android.com/reference/java/lang/Object ` ` `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.app.ApplicationErrorReport.AnrInfo |

<br />

*** ** * ** ***

Describes an application not responding error.

## Summary

| ### Fields ||
|---|---|
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/app/ApplicationErrorReport.AnrInfo#activity` Activity name. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/app/ApplicationErrorReport.AnrInfo#cause` Description of the operation that timed out. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/app/ApplicationErrorReport.AnrInfo#info` Additional info, including CPU stats. |

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/app/ApplicationErrorReport.AnrInfo#AnrInfo()() ` Create an uninitialized instance of AnrInfo. |
| ` https://developer.android.com/reference/android/app/ApplicationErrorReport.AnrInfo#AnrInfo(android.os.Parcel)(https://developer.android.com/reference/android/os/Parcel in) ` Create an instance of AnrInfo initialized from a Parcel. |

| ### Public methods ||
|---|---|
| ` void` | ` https://developer.android.com/reference/android/app/ApplicationErrorReport.AnrInfo#dump(android.util.Printer,%20java.lang.String)(https://developer.android.com/reference/android/util/Printer pw, https://developer.android.com/reference/java/lang/String prefix) ` Dump an AnrInfo instance to a Printer. |
| ` void` | ` https://developer.android.com/reference/android/app/ApplicationErrorReport.AnrInfo#writeToParcel(android.os.Parcel,%20int)(https://developer.android.com/reference/android/os/Parcel dest, int flags) ` Save an AnrInfo instance to a parcel. |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.

## Fields

### activity

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String activity
```

Activity name.

<br />

### cause

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String cause
```

Description of the operation that timed out.

<br />

### info

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String info
```

Additional info, including CPU stats.

<br />

## Public constructors

### AnrInfo

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public AnrInfo ()
```

Create an uninitialized instance of AnrInfo.

<br />

### AnrInfo

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public AnrInfo (Parcel in)
```

Create an instance of AnrInfo initialized from a Parcel.

<br />

| Parameters ||
|---|---|
| `in` | `Parcel` <br /> |

## Public methods

### dump

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public void dump (Printer pw, 
                String prefix)
```

Dump an AnrInfo instance to a Printer.

<br />

| Parameters ||
|---|---|
| `pw` | `Printer` <br /> |
| `prefix` | `String` <br /> |

### writeToParcel

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public void writeToParcel (Parcel dest, 
                int flags)
```

Save an AnrInfo instance to a parcel.

<br />

| Parameters ||
|---|---|
| `dest` | `Parcel` <br /> |
| `flags` | `int` <br /> |