# ApplicationErrorReport.AnrInfo

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

# AnrInfo

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/app/ApplicationErrorReport.AnrInfo "View this page in Java")  

```
open class AnrInfo
```

|---|------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                           ||
| ↳ | [android.app.ApplicationErrorReport.AnrInfo](https://developer.android.com/reference/kotlin/android/app/ApplicationErrorReport.AnrInfo#) |

Describes an application not responding error.

## Summary

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

|                                                                                                                                                                                                                             Public methods                                                                                                                                                                                                                              ||
|----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| open[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [dump](https://developer.android.com/reference/kotlin/android/app/ApplicationErrorReport.AnrInfo#dump(android.util.Printer,%20kotlin.String))`(`pw:` `[Printer](https://developer.android.com/reference/kotlin/android/util/Printer.html#)!`, `prefix:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Dump an AnrInfo instance to a Printer.  |
| open[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [writeToParcel](https://developer.android.com/reference/kotlin/android/app/ApplicationErrorReport.AnrInfo#writeToParcel(android.os.Parcel,%20kotlin.Int))`(`dest:` `[Parcel](https://developer.android.com/reference/kotlin/android/os/Parcel.html#)!`, `flags:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Save an AnrInfo instance to a parcel. |

|                                                                                                                       Properties                                                                                                                       ||
|-----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [activity](https://developer.android.com/reference/kotlin/android/app/ApplicationErrorReport.AnrInfo#activity:kotlin.String) Activity name.                         |
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [cause](https://developer.android.com/reference/kotlin/android/app/ApplicationErrorReport.AnrInfo#cause:kotlin.String) Description of the operation that timed out. |
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [info](https://developer.android.com/reference/kotlin/android/app/ApplicationErrorReport.AnrInfo#info:kotlin.String) Additional info, including CPU stats.          |

## Public constructors

### AnrInfo

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

```
AnrInfo()
```

Create an uninitialized instance of AnrInfo.  

### AnrInfo

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

```
AnrInfo(in: Parcel!)
```

Create an instance of AnrInfo initialized from a Parcel.

## Public methods

### dump

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

```
open fun dump(
    pw: Printer!, 
    prefix: String!
): Unit
```

Dump an AnrInfo instance to a Printer.  

### writeToParcel

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

```
open fun writeToParcel(
    dest: Parcel!, 
    flags: Int
): Unit
```

Save an AnrInfo instance to a parcel.

## Properties

### activity

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

```
var activity: String!
```

Activity name.  

### cause

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

```
var cause: String!
```

Description of the operation that timed out.  

### info

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

```
var info: String!
```

Additional info, including CPU stats.