DataChannelReceiver interface
DataChannel 接收器
属性
channel |
|
sender |
方法
属性详细信息
channelId
channelId: number
属性值
number
senderParticipantIdentifier
方法详细信息
off("close", DataChannelReceiverCloseEvent)
function off(event: "close", listener: DataChannelReceiverCloseEvent)
参数
- event
-
"close"
- listener
- DataChannelReceiverCloseEvent
off("messageReady", DataChannelReceiverMessageReadyEvent)
function off(event: "messageReady", listener: DataChannelReceiverMessageReadyEvent)
参数
- event
-
"messageReady"
- listener
- DataChannelReceiverMessageReadyEvent
on("close", DataChannelReceiverCloseEvent)
function on(event: "close", listener: DataChannelReceiverCloseEvent)
参数
- event
-
"close"
- listener
- DataChannelReceiverCloseEvent
on("messageReady", DataChannelReceiverMessageReadyEvent)
function on(event: "messageReady", listener: DataChannelReceiverMessageReadyEvent)
参数
- event
-
"messageReady"
- listener
- DataChannelReceiverMessageReadyEvent