ApplicationErrorReport.GetErrorReportReceiver 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
處理 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 所創建與分享的作品,並依授權條款所描述的使用進行修改。