語言

ApplicationErrorReport.GetErrorReportReceiver 方法

定義

處理 ACTION_APP_ERROR 的 receiverPackage 回傳活動。

[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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於