From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../-debugger/index.html | 200 +++++++++++++++++++++ 1 file changed, 200 insertions(+) create mode 100644 api1/pl.treksoft.kvision.electron/-debugger/index.html (limited to 'api1/pl.treksoft.kvision.electron/-debugger/index.html') diff --git a/api1/pl.treksoft.kvision.electron/-debugger/index.html b/api1/pl.treksoft.kvision.electron/-debugger/index.html new file mode 100644 index 00000000..8bf56824 --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-debugger/index.html @@ -0,0 +1,200 @@ + + + +Debugger - kvision + + + +kvision / pl.treksoft.kvision.electron / Debugger
+
+

Debugger

+open external class Debugger : EventEmitter +

Constructors

+ + + + + + + +
+

<init>

+
+Debugger()
+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

addListener

+
+open fun addListener(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
+open fun addListener(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger
+

attach

+
+open fun attach(protocolVersion: String? = definedExternally): Unit
+

detach

+
+open fun detach(): Unit
+

isAttached

+
+open fun isAttached(): Boolean
+

on

+
+open fun on(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
+open fun on(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger
+

once

+
+open fun once(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
+open fun once(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger
+

removeListener

+
+open fun removeListener(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
+open fun removeListener(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger
+

sendCommand

+
+open fun sendCommand(method: String, commandParams: Any? = definedExternally, callback: ((error: Any, result: Any) -> Unit)? = definedExternally): Unit
+

Inherited Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

addListener

+
+open fun addListener(event: String, listener: Function<*>): EventEmitter
+

emit

+
+open fun emit(event: String, vararg args: Any): Boolean
+

eventNames

+
+open fun eventNames(): Array<String>
+

getMaxListeners

+
+open fun getMaxListeners(): Number
+

listenerCount

+
+open fun listenerCount(type: String): Number
+

listeners

+
+open fun listeners(event: String): Array<Function<*>>
+

on

+
+open fun on(event: String, listener: Function<*>): EventEmitter
+

once

+
+open fun once(event: String, listener: Function<*>): EventEmitter
+

prependListener

+
+open fun prependListener(event: String, listener: Function<*>): EventEmitter
+

prependOnceListener

+
+open fun prependOnceListener(event: String, listener: Function<*>): EventEmitter
+

removeAllListeners

+
+open fun removeAllListeners(event: String? = definedExternally): EventEmitter
+

removeListener

+
+open fun removeListener(event: String, listener: Function<*>): EventEmitter
+

setMaxListeners

+
+open fun setMaxListeners(n: Number): EventEmitter
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + -- cgit