kvision / pl.treksoft.kvision.electron / ContentTracing

ContentTracing

(js) interface ContentTracing : EventEmitter

Functions

(js)

captureMonitoringSnapshot

abstract fun captureMonitoringSnapshot(resultFilePath: String, callback: (resultFilePath: String) -> Unit): Unit
(js)

getCategories

abstract fun getCategories(callback: (categories: Array<String>) -> Unit): Unit
(js)

getTraceBufferUsage

abstract fun getTraceBufferUsage(callback: (value: Number, percentage: Number) -> Unit): Unit
(js)

startMonitoring

abstract fun startMonitoring(options: StartMonitoringOptions, callback: Function<*>): Unit
(js)

startRecording

abstract fun startRecording(options: StartRecordingOptions, callback: Function<*>): Unit
(js)

stopMonitoring

abstract fun stopMonitoring(callback: Function<*>): Unit
(js)

stopRecording

abstract fun stopRecording(resultFilePath: String, callback: (resultFilePath: String) -> Unit): Unit