TracingConfig.Builder 类

定义

用于创建 TracingConfig 对象的生成器。

[Android.Runtime.Register("android/webkit/TracingConfig$Builder", ApiSince=28, DoNotGenerateAcw=true)]
public class TracingConfig.Builder : Java.Lang.Object
[<Android.Runtime.Register("android/webkit/TracingConfig$Builder", ApiSince=28, DoNotGenerateAcw=true)>]
type TracingConfig.Builder = class
    inherit Object
继承
TracingConfig.Builder
属性

注解

用于创建 TracingConfig 对象的生成器。

示例:

// Create a configuration with default options: {@link #CATEGORIES_NONE},
              // {@link #RECORD_CONTINUOUSLY}.
<code>new TracingConfig.Builder().build()</code>

              // Record trace events from the "web developer" predefined category sets.
              // Uses a ring buffer (the default {@link #RECORD_CONTINUOUSLY} mode) for
              // internal storage during tracing.
<code>new TracingConfig.Builder().addCategories(CATEGORIES_WEB_DEVELOPER).build()</code>

              // Record trace events from the "rendering" and "input latency" predefined
              // category sets.
<code>new TracingConfig.Builder().addCategories(CATEGORIES_RENDERING,
                                                CATEGORIES_INPUT_LATENCY).build()</code>

              // Record only the trace events from the "browser" category.
<code>new TracingConfig.Builder().addCategories("browser").build()</code>

              // Record only the trace events matching the "blink*" and "renderer*" patterns
              // (e.g. "blink.animations", "renderer_host" and "renderer.scheduler" categories).
<code>new TracingConfig.Builder().addCategories("blink*","renderer*").build()</code>

              // Record events from the "web developer" predefined category set and events from
              // the "disabled-by-default-v8.gc" category to understand where garbage collection
              // is being triggered. Uses a limited size buffer for internal storage during tracing.
<code>new TracingConfig.Builder().addCategories(CATEGORIES_WEB_DEVELOPER)
                                         .addCategories("disabled-by-default-v8.gc")
                                         .setTracingMode(RECORD_UNTIL_FULL).build()</code>

适用于 . 的 android.webkit.TracingConfig.BuilderJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

构造函数

TracingConfig.Builder()

生成器的默认构造函数。

TracingConfig.Builder(IntPtr, JniHandleOwnership)

用于创建 TracingConfig 对象的生成器。

属性

Class

返回此 Object的运行时类。

(继承自 Object)
Handle

基础 Android 实例的句柄。

(继承自 Object)
JniIdentityHashCode

用于创建 TracingConfig 对象的生成器。

(继承自 Object)
JniPeerMembers

用于创建 TracingConfig 对象的生成器。

PeerReference

用于创建 TracingConfig 对象的生成器。

(继承自 Object)
ThresholdClass

用于创建 TracingConfig 对象的生成器。

ThresholdType

用于创建 TracingConfig 对象的生成器。

方法

AddCategories(Categories[])

用于创建 TracingConfig 对象的生成器。

AddCategories(ICollection<String>)

用于创建 TracingConfig 对象的生成器。

AddCategories(String[])

用于创建 TracingConfig 对象的生成器。

Build()

使用当前设置进行生成 TracingConfig

Clone()

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

(继承自 Object)
Dispose()

用于创建 TracingConfig 对象的生成器。

(继承自 Object)
Dispose(Boolean)

用于创建 TracingConfig 对象的生成器。

(继承自 Object)
Equals(Object)

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

(继承自 Object)
GetHashCode()

返回对象的哈希代码值。

(继承自 Object)
JavaFinalize()

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

(继承自 Object)
Notify()

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

(继承自 Object)
NotifyAll()

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

(继承自 Object)
SetHandle(IntPtr, JniHandleOwnership)

设置 Handle 属性。

(继承自 Object)
SetTracingMode(TracingMode)

用于创建 TracingConfig 对象的生成器。

ToArray<T>()

用于创建 TracingConfig 对象的生成器。

(继承自 Object)
ToString()

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

(继承自 Object)
UnregisterFromRuntime()

用于创建 TracingConfig 对象的生成器。

(继承自 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()

用于创建 TracingConfig 对象的生成器。

(继承自 Object)
IJavaPeerable.DisposeUnlessReferenced()

用于创建 TracingConfig 对象的生成器。

(继承自 Object)
IJavaPeerable.Finalized()

用于创建 TracingConfig 对象的生成器。

(继承自 Object)
IJavaPeerable.JniManagedPeerState

用于创建 TracingConfig 对象的生成器。

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

用于创建 TracingConfig 对象的生成器。

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

用于创建 TracingConfig 对象的生成器。

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

用于创建 TracingConfig 对象的生成器。

(继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)

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

JavaCast<TResult>(IJavaObject)

用于创建 TracingConfig 对象的生成器。

GetJniTypeName(IJavaPeerable)

用于创建 TracingConfig 对象的生成器。

适用于