Share via


ApplicationErrorReport.GetErrorReportReceiver Method

Definition

Return activity in receiverPackage that handles ACTION_APP_ERROR.

[Android.Runtime.Register("getErrorReportReceiver", "(Landroid/content/Context;Ljava/lang/String;I)Landroid/content/ComponentName;", "")]
public static Android.Content.ComponentName? GetErrorReportReceiver (Android.Content.Context? context, string? packageName, Android.Content.PM.ApplicationInfoFlags appFlags);
[<Android.Runtime.Register("getErrorReportReceiver", "(Landroid/content/Context;Ljava/lang/String;I)Landroid/content/ComponentName;", "")>]
static member GetErrorReportReceiver : Android.Content.Context * string * Android.Content.PM.ApplicationInfoFlags -> Android.Content.ComponentName

Parameters

context
Context
packageName
String

Returns

activity component within receiverPackage which handles ACTION_APP_ERROR, or null if not found

Attributes

Remarks

Java documentation for android.app.ApplicationErrorReport.getErrorReportReceiver(android.content.pm.PackageManager, java.lang.String, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to