Preparing search index...
The search index is not available
live-js
live-js
<internal>
ScreenShare
Class ScreenShare
Hierarchy
EventTarget
<
ScreenShareEventMap
>
ScreenShare
Index
Constructors
constructor
Properties
_listeners
off
on
Accessors
is
Sharing
stream
Methods
_dispatch
Event
_release
Stream
add
Event
Listener
once
remove
All
Event
Listeners
remove
Event
Listener
start
Stream
stop
Stream
Constructors
constructor
new
Screen
Share
(
)
:
ScreenShare
Returns
ScreenShare
Properties
Protected
_listeners
_listeners
:
{
streamStopped
?:
EventListener
<
{
args
:
[
]
}
>
[]
}
= {}
Type declaration
Optional
stream
Stopped
?:
EventListener
<
{
args
:
[
]
}
>
[]
off
off
:
(
<
K
>
(
type
:
K
, callback
:
EventListener
<
ScreenShareEventMap
[
K
]
>
)
=>
void
)
= ...
Type declaration
<
K
>
(
type
:
K
, callback
:
EventListener
<
ScreenShareEventMap
[
K
]
>
)
:
void
Type Parameters
K
extends
"streamStopped"
Parameters
type:
K
callback:
EventListener
<
ScreenShareEventMap
[
K
]
>
Returns
void
on
on
:
(
<
K
>
(
type
:
K
, callback
:
EventListener
<
ScreenShareEventMap
[
K
]
>
)
=>
(
(
)
=>
void
)
)
= ...
Type declaration
<
K
>
(
type
:
K
, callback
:
EventListener
<
ScreenShareEventMap
[
K
]
>
)
:
(
(
)
=>
void
)
Type Parameters
K
extends
"streamStopped"
Parameters
type:
K
callback:
EventListener
<
ScreenShareEventMap
[
K
]
>
Returns
(
(
)
=>
void
)
(
)
:
void
Returns
void
Accessors
is
Sharing
get
isSharing
(
)
:
boolean
Returns
boolean
stream
get
stream
(
)
:
MediaStream
Returns
MediaStream
Methods
Protected
_dispatch
Event
_dispatch
Event
<
K
>
(
type
:
K
,
...
args
:
ArgsType
<
ScreenShareEventMap
[
K
]
>
)
:
void
Type Parameters
K
extends
"streamStopped"
Parameters
type:
K
Rest
...
args:
ArgsType
<
ScreenShareEventMap
[
K
]
>
Returns
void
_release
Stream
_release
Stream
(
)
:
void
Returns
void
add
Event
Listener
add
Event
Listener
<
K
>
(
type
:
K
, callback
:
EventListener
<
ScreenShareEventMap
[
K
]
>
)
:
(
(
)
=>
void
)
Type Parameters
K
extends
"streamStopped"
Parameters
type:
K
callback:
EventListener
<
ScreenShareEventMap
[
K
]
>
Returns
(
(
)
=>
void
)
(
)
:
void
Returns
void
once
once
<
K
>
(
type
:
K
, givenCb
:
EventListener
<
ScreenShareEventMap
[
K
]
>
)
:
(
(
)
=>
void
)
Type Parameters
K
extends
"streamStopped"
Parameters
type:
K
givenCb:
EventListener
<
ScreenShareEventMap
[
K
]
>
Returns
(
(
)
=>
void
)
(
)
:
void
Returns
void
remove
All
Event
Listeners
remove
All
Event
Listeners
(
)
:
void
Returns
void
remove
Event
Listener
remove
Event
Listener
<
K
>
(
type
:
K
, callback
:
EventListener
<
ScreenShareEventMap
[
K
]
>
)
:
void
Type Parameters
K
extends
"streamStopped"
Parameters
type:
K
callback:
EventListener
<
ScreenShareEventMap
[
K
]
>
Returns
void
start
Stream
start
Stream
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stop
Stream
stop
Stream
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Modules
live-
js
<internal>
Screen
Share
constructor
_listeners
off
on
is
Sharing
stream
_dispatch
Event
_release
Stream
add
Event
Listener
once
remove
All
Event
Listeners
remove
Event
Listener
start
Stream
stop
Stream
Generated using
TypeDoc