Поделиться через


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

Возвращаемое значение

компонент действия в receiverPackage, который обрабатывает ACTION_APP_ERROR или null, если не найден

Атрибуты

Комментарии

Документация по Java для android.app.ApplicationErrorReport.getErrorReportReceiver(android.content.pm.PackageManager, java.lang.String, java.lang.String).

Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.

Применяется к