ContentTracing

external interface ContentTracing(source)

Functions

Link copied to clipboard
abstract fun getCategories(): <Error class: unknown class><<Error class: unknown class><String>>

resolves with an array of category groups once all child processes have acknowledged the getCategories request

Link copied to clipboard
abstract fun getTraceBufferUsage(): <Error class: unknown class><TraceBufferUsageReturnValue>

Resolves with an object containing the value and percentage of trace buffer maximum usage

Link copied to clipboard
abstract fun startRecording(options: TraceCategoriesAndOptions): <Error class: unknown class><<Error class: unknown class>>
abstract fun startRecording(options: TraceConfig): <Error class: unknown class><<Error class: unknown class>>

resolved once all child processes have acknowledged the startRecording request.

Link copied to clipboard
abstract fun stopRecording(resultFilePath: String = definedExternally): <Error class: unknown class><String>

resolves with a path to a file that contains the traced data once all child processes have acknowledged the stopRecording request