Kotlin Wrappers API Reference
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
kotlin-browser
/
web.presentation
/
PresentationRequest
Presentation
Request
open
class
PresentationRequest
(
url
:
String
)
:
EventTarget
(
source
)
MDN Reference
Members
Members & Extensions
Constructors
Presentation
Request
Link copied to clipboard
constructor
(
url
:
String
)
constructor
(
urls
:
ReadonlyArray
<
JsString
>
)
Properties
default
Request
Link copied to clipboard
var
defaultRequest
:
PresentationRequest
?
MDN Reference
onconnectionavailable
Link copied to clipboard
var
onconnectionavailable
:
EventHandler
<
PresentationConnectionAvailableEvent
,
PresentationRequest
,
PresentationRequest
>
?
MDN Reference
receiver
Link copied to clipboard
val
receiver
:
PresentationRequest
?
MDN Reference
Functions
dispatch
Event
Link copied to clipboard
fun
dispatchEvent
(
event
:
Event
)
:
Boolean
get
Availability
Link copied to clipboard
inline suspend
fun
PresentationRequest
.
getAvailability
(
)
:
PresentationAvailability
MDN Reference
get
Availability
Async
Link copied to clipboard
fun
getAvailabilityAsync
(
)
:
Promise
<
PresentationAvailability
>
MDN Reference
reconnect
Link copied to clipboard
inline suspend
fun
PresentationRequest
.
reconnect
(
presentationId
:
String
)
:
PresentationConnection
MDN Reference
reconnect
Async
Link copied to clipboard
fun
reconnectAsync
(
presentationId
:
String
)
:
Promise
<
PresentationConnection
>
MDN Reference
start
Link copied to clipboard
inline suspend
fun
PresentationRequest
.
start
(
)
:
PresentationConnection
MDN Reference
start
Async
Link copied to clipboard
fun
startAsync
(
)
:
Promise
<
PresentationConnection
>
MDN Reference
when
Link copied to clipboard
fun
<
T
:
Event
>
when
(
type
:
EventType
<
T
>
,
options
:
ObservableEventListenerOptions
?
)
:
Observable
<
T
>