DataChannelSender interface
DataChannel-avsändare
Egenskaper
channel |
|
max |
Metoder
close() | |
send |
|
set |
Egenskapsinformation
channelId
channelId: number
Egenskapsvärde
number
maxMessageSize
maxMessageSize: number
Egenskapsvärde
number
Metodinformation
close()
function close()
sendMessage(Uint8Array)
function sendMessage(data: Uint8Array): Promise<void>
Parametrar
- data
-
Uint8Array
Returer
Promise<void>
setParticipants(CommunicationIdentifier[])
function setParticipants(participants: CommunicationIdentifier[])
Parametrar
- participants