Android Guides | Samples

Android.App.ApplicationErrorReport Class

Describes an application error.

See Also: ApplicationErrorReport

Syntax

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

Remarks

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

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
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

const
TypeAnrApplicationErrorReportType (2). An error report about an application that's not responding.
const
TypeBatteryApplicationErrorReportType (3). An error report about an application that's consuming too much battery.
const
TypeCrashApplicationErrorReportType (1). An error report about an application crash.
const
TypeNoneApplicationErrorReportType (0). Uninitialized error report.
const
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

[read-only]
static
CreatorIParcelableCreator.
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

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
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.
static
GetErrorReportReceiver(Context, String, ApplicationInfoFlags) : ComponentName
ReadFromParcel(Parcel)
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.