DeviceAdminReceiver.OnBugreportFailed Method

Definition

Called when the bugreport collection flow has failed.

[Android.Runtime.Register("onBugreportFailed", "(Landroid/content/Context;Landroid/content/Intent;I)V", "GetOnBugreportFailed_Landroid_content_Context_Landroid_content_Intent_IHandler", ApiSince=24)]
public virtual void OnBugreportFailed (Android.Content.Context context, Android.Content.Intent intent, Android.App.Admin.BugReportFailureReason failureCode);
[<Android.Runtime.Register("onBugreportFailed", "(Landroid/content/Context;Landroid/content/Intent;I)V", "GetOnBugreportFailed_Landroid_content_Context_Landroid_content_Intent_IHandler", ApiSince=24)>]
abstract member OnBugreportFailed : Android.Content.Context * Android.Content.Intent * Android.App.Admin.BugReportFailureReason -> unit
override this.OnBugreportFailed : Android.Content.Context * Android.Content.Intent * Android.App.Admin.BugReportFailureReason -> unit

Parameters

context
Context

The running context as per #onReceive.

intent
Intent

The received intent as per #onReceive.

failureCode
BugReportFailureReason

int containing failure code. One of #BUGREPORT_FAILURE_FAILED_COMPLETING or #BUGREPORT_FAILURE_FILE_NO_LONGER_AVAILABLE

Attributes

Remarks

Called when the bugreport collection flow has failed.

This callback is only applicable to device owners.

Java documentation for android.app.admin.DeviceAdminReceiver.onBugreportFailed(android.content.Context, android.content.Intent, int).

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