Preparing search index...
The search index is not available
@formant/data-sdk
@formant/data-sdk
BinaryRequestDataChannel
Class BinaryRequestDataChannel
Hierarchy
RequestDataChannel
BinaryRequestDataChannel
Index
Constructors
constructor
Properties
RESPONSE_
SUCCESS_
BYTE
channel
channel_
name
decoder
device
request
Id
To
Response
Map
timeout
Methods
add
Close
Listener
add
Error
Listener
add
Open
Listener
generate
Binary
Id
initialize
remove
Close
Listener
remove
Error
Listener
remove
Open
Listener
request
Constructors
constructor
new
Binary
Request
Data
Channel
(
device
,
channel_name
,
timeout
)
:
BinaryRequestDataChannel
Parameters
device
:
ICustomDataChannelCreator
channel_name
:
string
timeout
:
number
Returns
BinaryRequestDataChannel
Properties
Private
RESPONSE_
SUCCESS_
BYTE
RESPONSE_
SUCCESS_
BYTE
:
number
= 0
Protected
channel
channel
:
undefined
|
DataChannel
Protected
channel_
name
channel_
name
:
string
Private
decoder
decoder
:
TextDecoder
= ...
Protected
device
device
:
ICustomDataChannelCreator
Protected
request
Id
To
Response
Map
request
Id
To
Response
Map
:
Map
<
string
,
any
>
= ...
Protected
timeout
timeout
:
number
Methods
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
Open
Listener
add
Open
Listener
(
listener
)
:
void
Parameters
listener
:
DataChannelListener
Returns
void
generate
Binary
Id
generate
Binary
Id
(
)
:
Uint8Array
Returns
Uint8Array
initialize
initialize
(
)
:
Promise
<
void
>
Returns
Promise
<
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
Open
Listener
remove
Open
Listener
(
listener
)
:
void
Parameters
listener
:
DataChannelListener
Returns
void
request
request
(
data
)
:
Promise
<
any
>
Parameters
data
:
Uint8Array
Returns
Promise
<
any
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
RESPONSE_
SUCCESS_
BYTE
channel
channel_
name
decoder
device
request
Id
To
Response
Map
timeout
add
Close
Listener
add
Error
Listener
add
Open
Listener
generate
Binary
Id
initialize
remove
Close
Listener
remove
Error
Listener
remove
Open
Listener
request
@formant/data-sdk
Loading...
Generated using
TypeDoc