Share via


BugreportManager.BugreportCallback 类

定义

描述 bugreport 进度和状态的回调的接口。

[Android.Runtime.Register("android/os/BugreportManager$BugreportCallback", ApiSince=31, DoNotGenerateAcw=true)]
public abstract class BugreportManager.BugreportCallback : Java.Lang.Object
[<Android.Runtime.Register("android/os/BugreportManager$BugreportCallback", ApiSince=31, DoNotGenerateAcw=true)>]
type BugreportManager.BugreportCallback = class
    inherit Object
继承
BugreportManager.BugreportCallback
属性

注解

描述 bugreport 进度和状态的回调的接口。

随着 bug 报告的进展,调用方将收到#onProgress呼叫,然后对 或 #onError进行终端调用#onFinished

如果在异步启动 bugreport 时遇到问题,调用方将接收 #onError 不带任何 #onProgress 回调的调用。

android.os.BugreportManager.BugreportCallbackJava 文档。

此页面的某些部分是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的条款使用。

构造函数

BugreportManager.BugreportCallback()

描述 bugreport 进度和状态的回调的接口。

BugreportManager.BugreportCallback(IntPtr, JniHandleOwnership)

描述 bugreport 进度和状态的回调的接口。

字段

BugreportErrorAnotherReportInProgress
已过时.

当前有一个 bugreport 正在运行。

BugreportErrorInvalidInput
已过时.

输入选项无效。

BugreportErrorNoBugreportToRetrieve
已过时.

没有要为调用方检索的 bug 报告。

BugreportErrorRuntime
已过时.

发生运行时错误。

BugreportErrorUserConsentTimedOut
已过时.

获取用户同意的请求超时。

BugreportErrorUserDeniedConsent
已过时.

用户拒绝共享 bug 报告。

属性

Class

返回此 Object的运行时类。

(继承自 Object)
Handle

基础 Android 实例的句柄。

(继承自 Object)
JniIdentityHashCode

描述 bugreport 进度和状态的回调的接口。

(继承自 Object)
JniPeerMembers

描述 bugreport 进度和状态的回调的接口。

PeerReference

描述 bugreport 进度和状态的回调的接口。

(继承自 Object)
ThresholdClass

描述 bugreport 进度和状态的回调的接口。

ThresholdType

描述 bugreport 进度和状态的回调的接口。

方法

Clone()

创建并返回此对象的副本。

(继承自 Object)
Dispose()

描述 bugreport 进度和状态的回调的接口。

(继承自 Object)
Dispose(Boolean)

描述 bugreport 进度和状态的回调的接口。

(继承自 Object)
Equals(Object)

指示某个其他对象是否“等于”此对象。

(继承自 Object)
GetHashCode()

返回对象的哈希代码值。

(继承自 Object)
JavaFinalize()

当垃圾回收确定不再引用对象时,由垃圾回收器对对象调用。

(继承自 Object)
Notify()

唤醒正在等待此对象的监视器的单个线程。

(继承自 Object)
NotifyAll()

唤醒正在等待此对象的监视器的所有线程。

(继承自 Object)
OnEarlyReportFinished()

当它已准备好调用应用以显示 UI 时调用,显示任何额外的 UI 之前,此回调可能会干扰 bug 报告生成。

OnError(Int32)

在获取 bugreport 导致错误时调用。

OnFinished()

获取 bugreport 成功完成时调用。

OnProgress(Single)

当有进度更新时调用。

SetHandle(IntPtr, JniHandleOwnership)

设置 Handle 属性。

(继承自 Object)
ToArray<T>()

描述 bugreport 进度和状态的回调的接口。

(继承自 Object)
ToString()

返回对象的字符串表示形式。

(继承自 Object)
UnregisterFromRuntime()

描述 bugreport 进度和状态的回调的接口。

(继承自 Object)
Wait()

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>。<>

(继承自 Object)
Wait(Int64)

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>,或直到经过一定数量的实时。<>

(继承自 Object)
Wait(Int64, Int32)

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>,或直到经过一定数量的实时。<>

(继承自 Object)

显式接口实现

IJavaPeerable.Disposed()

描述 bugreport 进度和状态的回调的接口。

(继承自 Object)
IJavaPeerable.DisposeUnlessReferenced()

描述 bugreport 进度和状态的回调的接口。

(继承自 Object)
IJavaPeerable.Finalized()

描述 bugreport 进度和状态的回调的接口。

(继承自 Object)
IJavaPeerable.JniManagedPeerState

描述 bugreport 进度和状态的回调的接口。

(继承自 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

描述 bugreport 进度和状态的回调的接口。

(继承自 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

描述 bugreport 进度和状态的回调的接口。

(继承自 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

描述 bugreport 进度和状态的回调的接口。

(继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)

描述 bugreport 进度和状态的回调的接口。

GetJniTypeName(IJavaPeerable)

描述 bugreport 进度和状态的回调的接口。

适用于