Preparing search index...
The search index is not available
@formant/data-sdk
@formant/data-sdk
DataChannel
Class DataChannel
Index
Constructors
constructor
Properties
binary
Listeners
close
Listeners
data
Channel
decoder
error
error
Listeners
listeners
open
Listeners
ready
Methods
add
Binary
Listener
add
Close
Listener
add
Error
Listener
add
Listener
add
Open
Listener
remove
Binary
Listener
remove
Close
Listener
remove
Error
Listener
remove
Listener
remove
Open
Listener
send
send
Binary
set
Ready
wait
Til
Ready
Constructors
constructor
new
Data
Channel
(
dataChannel
)
:
DataChannel
Parameters
dataChannel
:
RTCDataChannel
Returns
DataChannel
Properties
binary
Listeners
binary
Listeners
:
DataChannelBinaryListener
[]
= []
close
Listeners
close
Listeners
:
DataChannelListener
[]
= []
Private
data
Channel
data
Channel
:
RTCDataChannel
decoder
decoder
:
TextDecoder
= ...
error
error
:
undefined
|
string
error
Listeners
error
Listeners
:
DataChannelErrorListener
[]
= []
listeners
listeners
:
DataChannelStringListener
[]
= []
open
Listeners
open
Listeners
:
DataChannelListener
[]
= []
ready
ready
:
boolean
= false
Methods
add
Binary
Listener
add
Binary
Listener
(
listener
)
:
void
Parameters
listener
:
DataChannelBinaryListener
Returns
void
add
Close
Listener
add
Close
Listener
(
listener
)
:
void
Parameters
listener
:
DataChannelListener
Returns
void
add
Error
Listener
add
Error
Listener
(
listener
)
:
void
Parameters
listener
:
DataChannelErrorListener
Returns
void
add
Listener
add
Listener
(
listener
)
:
void
Parameters
listener
:
DataChannelStringListener
Returns
void
add
Open
Listener
add
Open
Listener
(
listener
)
:
void
Parameters
listener
:
DataChannelListener
Returns
void
remove
Binary
Listener
remove
Binary
Listener
(
listener
)
:
void
Parameters
listener
:
DataChannelBinaryListener
Returns
void
remove
Close
Listener
remove
Close
Listener
(
listener
)
:
void
Parameters
listener
:
DataChannelListener
Returns
void
remove
Error
Listener
remove
Error
Listener
(
listener
)
:
void
Parameters
listener
:
DataChannelErrorListener
Returns
void
remove
Listener
remove
Listener
(
listener
)
:
void
Parameters
listener
:
DataChannelStringListener
Returns
void
remove
Open
Listener
remove
Open
Listener
(
listener
)
:
void
Parameters
listener
:
DataChannelListener
Returns
void
send
send
(
data
)
:
void
Parameters
data
:
string
Returns
void
send
Binary
send
Binary
(
data
)
:
void
Parameters
data
:
Uint8Array
Returns
void
Private
set
Ready
set
Ready
(
)
:
void
Returns
void
wait
Til
Ready
wait
Til
Ready
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
binary
Listeners
close
Listeners
data
Channel
decoder
error
error
Listeners
listeners
open
Listeners
ready
add
Binary
Listener
add
Close
Listener
add
Error
Listener
add
Listener
add
Open
Listener
remove
Binary
Listener
remove
Close
Listener
remove
Error
Listener
remove
Listener
remove
Open
Listener
send
send
Binary
set
Ready
wait
Til
Ready
@formant/data-sdk
Loading...
Generated using
TypeDoc