次の方法で共有


DeviceAdminReceiver.OnBugreportShared(Context, Intent, String) Method

Definition

Called when the bugreport has been shared with the device administrator app.

[Android.Runtime.Register("onBugreportShared", "(Landroid/content/Context;Landroid/content/Intent;Ljava/lang/String;)V", "GetOnBugreportShared_Landroid_content_Context_Landroid_content_Intent_Ljava_lang_String_Handler", ApiSince=24)]
public virtual void OnBugreportShared (Android.Content.Context context, Android.Content.Intent intent, string bugreportHash);
[<Android.Runtime.Register("onBugreportShared", "(Landroid/content/Context;Landroid/content/Intent;Ljava/lang/String;)V", "GetOnBugreportShared_Landroid_content_Context_Landroid_content_Intent_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member OnBugreportShared : Android.Content.Context * Android.Content.Intent * string -> unit
override this.OnBugreportShared : Android.Content.Context * Android.Content.Intent * string -> unit

Parameters

context
Context

The running context as per #onReceive.

intent
Intent

The received intent as per #onReceive. Contains the URI of the bugreport file (with MIME type "application/vnd.android.bugreport"), that can be accessed by calling Intent#getData()

bugreportHash
String

SHA-256 hash of the bugreport file.

Attributes

Remarks

Called when the bugreport has been shared with the device administrator app.

This callback is only applicable to device owners.

Java documentation for android.app.admin.DeviceAdminReceiver.onBugreportShared(android.content.Context, android.content.Intent, java.lang.String).

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