Categories Enum
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.
Specifies predefined category groups for WebView tracing.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum Categories
[<System.Flags>]
type Categories =
- Inheritance
-
Categories
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | Indicates that there are no predefined categories. Android reference for 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. |
| All | 1 | Predefined set of categories, includes all categories enabled by default in chromium. Use with caution: this setting may produce large trace output. Android reference for 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. |
| AndroidWebview | 2 | Predefined set of categories typically useful for analyzing WebViews. Typically includes "android_webview" and "Java" categories. Android reference for 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. |
| WebDeveloper | 4 | Predefined set of categories typically useful for web developers. Typically includes "blink", "compositor", "renderer.scheduler" and "v8" categories. Android reference for 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. |
| InputLatency | 8 | Predefined set of categories for analyzing input latency issues. Typically includes "input", "renderer.scheduler" categories. Android reference for 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. |
| Rendering | 16 | Predefined set of categories for analyzing rendering issues. Typically includes "blink", "compositor" and "gpu" categories. Android reference for 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. |
| JavascriptAndRendering | 32 | Predefined set of categories for analyzing javascript and rendering issues. Typically includes "blink", "compositor", "gpu", "renderer.scheduler" and "v8" categories. Android reference for 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. |
| FrameViewer | 64 | 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. Android reference for 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. |
Remarks
Pass these values to TracingConfig.Builder.AddCategories to include predefined groups in a trace. The builder combines the selected groups with any groups already selected.