DataChannelReceiver interface
DataChannel receiver
Properties
channel |
|
sender |
Methods
Property Details
channelId
channelId: number
Property Value
number
senderParticipantIdentifier
Method Details
off("close", DataChannelReceiverCloseEvent)
function off(event: "close", listener: DataChannelReceiverCloseEvent)
Parameters
- event
-
"close"
- listener
- DataChannelReceiverCloseEvent
off("messageReady", DataChannelReceiverMessageReadyEvent)
function off(event: "messageReady", listener: DataChannelReceiverMessageReadyEvent)
Parameters
- event
-
"messageReady"
- listener
- DataChannelReceiverMessageReadyEvent
on("close", DataChannelReceiverCloseEvent)
function on(event: "close", listener: DataChannelReceiverCloseEvent)
Parameters
- event
-
"close"
- listener
- DataChannelReceiverCloseEvent
on("messageReady", DataChannelReceiverMessageReadyEvent)
function on(event: "messageReady", listener: DataChannelReceiverMessageReadyEvent)
Parameters
- event
-
"messageReady"
- listener
- DataChannelReceiverMessageReadyEvent