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