Stay organized with collections
Save and categorize content based on your preferences.
AnrInfo
open class AnrInfo
Describes an application not responding error.
Summary
Public constructors |
Create an uninitialized instance of AnrInfo.
|
Create an instance of AnrInfo initialized from a Parcel.
|
Public methods |
open Unit |
Dump an AnrInfo instance to a Printer.
|
open Unit |
Save an AnrInfo instance to a parcel.
|
Properties |
String! |
Activity name.
|
String! |
Description of the operation that timed out.
|
String! |
Additional info, including CPU stats.
|
Public constructors
AnrInfo
AnrInfo()
Create an uninitialized instance of AnrInfo.
AnrInfo
AnrInfo(in: Parcel!)
Create an instance of AnrInfo initialized from a Parcel.
Public methods
dump
open fun dump(
pw: Printer!,
prefix: String!
): Unit
Dump an AnrInfo instance to a Printer.
writeToParcel
open fun writeToParcel(
dest: Parcel!,
flags: Int
): Unit
Save an AnrInfo instance to a parcel.
Properties
activity
var activity: String!
Activity name.
cause
var cause: String!
Description of the operation that timed out.
info
var info: String!
Additional info, including CPU stats.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# ApplicationErrorReport.AnrInfo\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nAnrInfo\n=======\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/app/ApplicationErrorReport.AnrInfo \"View this page in Java\") \n\n```\nopen class AnrInfo\n```\n\n|---|-------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.app.ApplicationErrorReport.AnrInfo](#) |\n\nDescribes an application not responding error.\n\nSummary\n-------\n\n| Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [AnrInfo](#AnrInfo())`()` Create an uninitialized instance of AnrInfo. |\n| [AnrInfo](#AnrInfo(android.os.Parcel))`(`in:` `[Parcel](../os/Parcel.html#)!`)` Create an instance of AnrInfo initialized from a Parcel. |\n\n| Public methods ||\n|-----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [dump](#dump(android.util.Printer,%20kotlin.String))`(`pw:` `[Printer](../util/Printer.html#)!`, `prefix:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Dump an AnrInfo instance to a Printer. |\n| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [writeToParcel](#writeToParcel(android.os.Parcel,%20kotlin.Int))`(`dest:` `[Parcel](../os/Parcel.html#)!`, `flags:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Save an AnrInfo instance to a parcel. |\n\n| Properties ||\n|-----------------------------------------------------------------------------------|----------------------------------------------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [activity](#activity:kotlin.String) Activity name. |\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [cause](#cause:kotlin.String) Description of the operation that timed out. |\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [info](#info:kotlin.String) Additional info, including CPU stats. |\n\nPublic constructors\n-------------------\n\n### AnrInfo\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nAnrInfo()\n```\n\nCreate an uninitialized instance of AnrInfo. \n\n### AnrInfo\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nAnrInfo(in: Parcel!)\n```\n\nCreate an instance of AnrInfo initialized from a Parcel.\n\nPublic methods\n--------------\n\n### dump\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun dump(\n pw: Printer!, \n prefix: String!\n): Unit\n```\n\nDump an AnrInfo instance to a Printer. \n\n### writeToParcel\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun writeToParcel(\n dest: Parcel!, \n flags: Int\n): Unit\n```\n\nSave an AnrInfo instance to a parcel.\n\nProperties\n----------\n\n### activity\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar activity: String!\n```\n\nActivity name. \n\n### cause\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar cause: String!\n```\n\nDescription of the operation that timed out. \n\n### info\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar info: String!\n```\n\nAdditional info, including CPU stats."]]