Udostępnij za pośrednictwem


BugreportManager.CancelBugreport Method

Definition

Cancels the currently running bugreport.

[Android.Runtime.Register("cancelBugreport", "()V", "", ApiSince=31)]
public void CancelBugreport ();
[<Android.Runtime.Register("cancelBugreport", "()V", "", ApiSince=31)>]
member this.CancelBugreport : unit -> unit
Attributes

Remarks

Cancels the currently running bugreport.

Apps are only able to cancel their own bugreports. App A cannot cancel a bugreport started by app B.

Requires permission: android.Manifest.permission#DUMP or that the calling app has carrier privileges (see android.telephony.TelephonyManager#hasCarrierPrivileges) on any active subscription.

Java documentation for android.os.BugreportManager.cancelBugreport().

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