toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.remoteplayback
/
RemotePlayback
Remote
Playback
sealed
external
class
RemotePlayback
:
EventTarget
(
source
)
MDN Reference
Members
Properties
connect
Event
Link copied to clipboard
val
connectEvent
:
EventInstance
<
Event
,
RemotePlayback
,
RemotePlayback
>
MDN Reference
connecting
Event
Link copied to clipboard
val
connectingEvent
:
EventInstance
<
Event
,
RemotePlayback
,
RemotePlayback
>
MDN Reference
disconnect
Event
Link copied to clipboard
val
disconnectEvent
:
EventInstance
<
Event
,
RemotePlayback
,
RemotePlayback
>
MDN Reference
onconnect
Link copied to clipboard
var
onconnect
:
EventHandler
<
Event
,
RemotePlayback
,
RemotePlayback
>
?
MDN Reference
onconnecting
Link copied to clipboard
var
onconnecting
:
EventHandler
<
Event
,
RemotePlayback
,
RemotePlayback
>
?
MDN Reference
ondisconnect
Link copied to clipboard
var
ondisconnect
:
EventHandler
<
Event
,
RemotePlayback
,
RemotePlayback
>
?
MDN Reference
state
Link copied to clipboard
val
state
:
RemotePlaybackState
MDN Reference
Functions
cancel
Watch
Availability
Link copied to clipboard
suspend
fun
cancelWatchAvailability
(
id
:
Int
=
definedExternally
)
MDN Reference
cancel
Watch
Availability
Async
Link copied to clipboard
fun
cancelWatchAvailabilityAsync
(
id
:
Int
=
definedExternally
)
:
Promise
<
Void
>
dispatch
Event
Link copied to clipboard
fun
dispatchEvent
(
event
:
Event
)
:
Boolean
prompt
Link copied to clipboard
suspend
fun
prompt
(
)
MDN Reference
prompt
Async
Link copied to clipboard
fun
promptAsync
(
)
:
Promise
<
Void
>
watch
Availability
Link copied to clipboard
suspend
fun
watchAvailability
(
callback
:
RemotePlaybackAvailabilityCallback
)
:
Number
MDN Reference
watch
Availability
Async
Link copied to clipboard
fun
watchAvailabilityAsync
(
callback
:
RemotePlaybackAvailabilityCallback
)
:
Promise
<
Number
>