BugreportManager.BugreportCallback.OnError(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when taking bugreport resulted in an error.
[Android.Runtime.Register("onError", "(I)V", "GetOnError_IHandler", ApiSince=31)]
public virtual void OnError (int errorCode);
[<Android.Runtime.Register("onError", "(I)V", "GetOnError_IHandler", ApiSince=31)>]
abstract member OnError : int -> unit
override this.OnError : int -> unit
Parameters
- errorCode
- Int32
- Attributes
Remarks
Called when taking bugreport resulted in an error.
If BUGREPORT_ERROR_USER_DENIED_CONSENT
is passed, then the user did not consent to sharing the bugreport with the calling app.
If BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT
is passed, then the consent timed out, but the bugreport could be available in the internal directory of dumpstate for manual retrieval.
If BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS
is passed, then the caller should try later, as only one bugreport can be in progress at a time.
Java documentation for android.os.BugreportManager.BugreportCallback.onError(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.