# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Nested Classes | Constants | Methods | Inherited Methods

# TracingConfig

`public class TracingConfig`
`extends Object` ``

java.lang.Object
↳ | android.webkit.TracingConfig

Holds tracing configuration information and predefined settings.

## Summary

### Nested classes
`class` | `TracingConfig.Builder` Builder used to create `TracingConfig` objects.

### Constants
`int` | `CATEGORIES_ALL` Predefined set of categories, includes all categories enabled by default in chromium.
`int` | `CATEGORIES_ANDROID_WEBVIEW` Predefined set of categories typically useful for analyzing WebViews.
`int` | `CATEGORIES_FRAME_VIEWER` Predefined set of categories for studying difficult rendering performance problems.
`int` | `CATEGORIES_INPUT_LATENCY` Predefined set of categories for analyzing input latency issues.
`int` | `CATEGORIES_JAVASCRIPT_AND_RENDERING` Predefined set of categories for analyzing javascript and rendering issues.
`int` | `CATEGORIES_NONE` Indicates that there are no predefined categories.
`int` | `CATEGORIES_RENDERING` Predefined set of categories for analyzing rendering issues.
`int` | `CATEGORIES_WEB_DEVELOPER` Predefined set of categories typically useful for web developers.
`int` | `RECORD_CONTINUOUSLY` Record trace events continuously using an internal ring buffer.
`int` | `RECORD_UNTIL_FULL` Record trace events until the internal tracing buffer is full.

### Public methods
`List<String>` | `getCustomIncludedCategories()` Returns the list of included custom category patterns for this configuration.
`int` | `getPredefinedCategories()` Returns a bitmask of the predefined category sets of this configuration.
`int` | `getTracingMode()` Returns the tracing mode of this configuration.

### Inherited methods
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.

## Constants

### CATEGORIES_ALL

    public static final int CATEGORIES_ALL

Predefined set of categories, includes all categories enabled by default in chromium. Use with caution: this setting may produce large trace output.

Constant Value: 1 (0x00000001)

### CATEGORIES_ANDROID_WEBVIEW

    public static final int CATEGORIES_ANDROID_WEBVIEW

Predefined set of categories typically useful for analyzing WebViews. Typically includes "android_webview" and "Java" categories.

Constant Value: 2 (0x00000002)

### CATEGORIES_FRAME_VIEWER

    public static final int CATEGORIES_FRAME_VIEWER

Predefined set of categories for studying difficult rendering performance problems. Typically includes "blink", "compositor", "gpu", "renderer.scheduler", "v8" and some other compositor categories which are disabled by default.

Constant Value: 64 (0x00000040)

### CATEGORIES_INPUT_LATENCY

    public static final int CATEGORIES_INPUT_LATENCY

Predefined set of categories for analyzing input latency issues. Typically includes "input", "renderer.scheduler" categories.

Constant Value: 8 (0x00000008)

### CATEGORIES_JAVASCRIPT_AND_RENDERING

    public static final int CATEGORIES_JAVASCRIPT_AND_RENDERING

Predefined set of categories for analyzing javascript and rendering issues. Typically includes "blink", "compositor", "gpu", "renderer.scheduler" and "v8" categories.

Constant Value: 32 (0x00000020)

### CATEGORIES_NONE

    public static final int CATEGORIES_NONE

Indicates that there are no predefined categories.

Constant Value: 0 (0x00000000)

### CATEGORIES_RENDERING

    public static final int CATEGORIES_RENDERING

Predefined set of categories for analyzing rendering issues. Typically includes "blink", "compositor" and "gpu" categories.

Constant Value: 16 (0x00000010)

### CATEGORIES_WEB_DEVELOPER

    public static final int CATEGORIES_WEB_DEVELOPER

Predefined set of categories typically useful for web developers. Typically includes "blink", "compositor", "renderer.scheduler" and "v8" categories.

Constant Value: 4 (0x00000004)

### RECORD_CONTINUOUSLY

    public static final int RECORD_CONTINUOUSLY

Record trace events continuously using an internal ring buffer. Default tracing mode. Overwrites old events if they exceed buffer capacity. Uses less memory than the `RECORD_UNTIL_FULL` mode. Depending on the implementation typically allows up to 64k events to be stored.

Constant Value: 1 (0x00000001)

### RECORD_UNTIL_FULL

    public static final int RECORD_UNTIL_FULL

Record trace events until the internal tracing buffer is full. Typically the buffer memory usage is larger than `RECORD_CONTINUOUSLY`. Depending on the implementation typically allows up to 256k events to be stored.

Constant Value: 0 (0x00000000)

## Public methods

### getCustomIncludedCategories

    public List<String> getCustomIncludedCategories ()

Returns the list of included custom category patterns for this configuration.

Returns
`List<String>` | Empty list if no custom category patterns are specified. This value cannot be `null`.

### getPredefinedCategories

    public int getPredefinedCategories ()

Returns a bitmask of the predefined category sets of this configuration.

Returns
`int` | Bitmask of predefined category sets. Value is either `0` or a combination of `CATEGORIES_NONE`, `CATEGORIES_ALL`, `CATEGORIES_ANDROID_WEBVIEW`, `CATEGORIES_WEB_DEVELOPER`, `CATEGORIES_INPUT_LATENCY`, `CATEGORIES_RENDERING`, `CATEGORIES_JAVASCRIPT_AND_RENDERING`, and `CATEGORIES_FRAME_VIEWER`

### getTracingMode

    public int getTracingMode ()

Returns the tracing mode of this configuration.

Returns
`int` | The tracing mode of this configuration. Value is `RECORD_UNTIL_FULL`, or `RECORD_CONTINUOUSLY`

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*