ApplicationErrorReport.GetErrorReportReceiver 方法

定义

返回 receiverPackage 中处理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

参数

context
Context

背景

packageName
String

String

appFlags
ApplicationInfoFlags

int

返回

属性

注解

Android 参考。android.app.ApplicationErrorReport.getErrorReportReceiver

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于