Android Guides | Samples

Android.App.ApplicationErrorReport Class

Describes an application error.

See Also: ApplicationErrorReport


[Android.Runtime.Register("android/app/ApplicationErrorReport", DoNotGenerateAcw=true)]
public class ApplicationErrorReport : Object, IParcelable, IDisposable


Describes an application error. A report has a type, which is one of

[Android Documentation]


Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions:
Since: Added in API level 14

The members of Android.App.ApplicationErrorReport are listed below.

See Also: Object

Public Constructors

Create an uninitialized instance of ApplicationErrorReport.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

TypeAnrApplicationErrorReportType (2). An error report about an application that's not responding.
TypeBatteryApplicationErrorReportType (3). An error report about an application that's consuming too much battery.
TypeCrashApplicationErrorReportType (1). An error report about an application crash.
TypeNoneApplicationErrorReportType (0). Uninitialized error report.
TypeRunningServiceApplicationErrorReportType (5). A report from a user to a developer about a running service that the user doesn't think should be running.

Public Properties

InstallerPackageNameString. Package name of the application which installed the application this report pertains to.
PackageNameString. Package name of the application.
ProcessNameString. Process name of the application.
SystemAppBoolean. Set if the app is on the system image.
TimeInt64. Time at which the error occurred.
TypeApplicationErrorReportType. Type of this report.

Protected Properties

ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : Int32
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Dump(IPrinter, String)
Dump the report to a Printer.
GetErrorReportReceiver(Context, String, ApplicationInfoFlags) : ComponentName
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.