Kotlin Wrappers API Reference
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
kotlin-browser
/
web.presentation
/
PresentationConnection
Presentation
Connection
open
class
PresentationConnection
:
EventTarget
(
source
)
MDN Reference
Members
Properties
binary
Type
Link copied to clipboard
var
binaryType
:
BinaryType
MDN Reference
id
Link copied to clipboard
val
id
:
String
MDN Reference
onclose
Link copied to clipboard
var
onclose
:
EventHandler
<
PresentationConnectionCloseEvent
,
PresentationConnection
,
PresentationConnection
>
MDN Reference
onconnect
Link copied to clipboard
var
onconnect
:
EventHandler
<
Event
,
PresentationConnection
,
PresentationConnection
>
MDN Reference
onmessage
Link copied to clipboard
var
onmessage
:
EventHandler
<
MessageEvent
<
JsAny
>
,
PresentationConnection
,
PresentationConnection
>
MDN Reference
onterminate
Link copied to clipboard
var
onterminate
:
EventHandler
<
Event
,
PresentationConnection
,
PresentationConnection
>
MDN Reference
state
Link copied to clipboard
val
state
:
PresentationConnectionState
MDN Reference
url
Link copied to clipboard
val
url
:
String
MDN Reference
Functions
close
Link copied to clipboard
fun
close
(
)
MDN Reference
dispatch
Event
Link copied to clipboard
fun
dispatchEvent
(
event
:
Event
)
:
Boolean
send
Link copied to clipboard
fun
send
(
data
:
ArrayBuffer
)
fun
send
(
data
:
ArrayBufferView
<
*
>
)
fun
send
(
message
:
String
)
fun
send
(
data
:
Blob
)
MDN Reference
terminate
Link copied to clipboard
fun
terminate
(
)
MDN Reference
when
Link copied to clipboard
fun
<
T
:
Event
>
when
(
type
:
EventType
<
T
>
,
options
:
ObservableEventListenerOptions
?
)
:
Observable
<
T
>