Table of Contents

Class RTCDataChannelEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The RTCDataChannelEvent interface
represents an event related to a specific RTCDataChannel.

[Value("RTCDataChannelEvent")]
public class RTCDataChannelEvent : Event
Inheritance
RTCDataChannelEvent
Inherited Members

Remarks

-WebRTC
-RTCDataChannel
-A simple RTCDataChannel sample
-RTCPeerConnection (the target interface for RTCPeerConnection.Datachannel events)

See also on MDN

Constructors

RTCDataChannelEvent()

public RTCDataChannelEvent()

RTCDataChannelEvent(string, RTCDataChannelEventInit)

The RTCDataChannelEvent() constructor
creates a new RTCDataChannelEvent object.

public RTCDataChannelEvent(string type, RTCDataChannelEventInit eventInitDict)

Parameters

type string
eventInitDict RTCDataChannelEventInit

Remarks

NOTE

You will rarely if ever construct an RTCDataChannelEvent by hand; these
events are normally created and sent by the WebRTC layer itself.

-WebRTC
-RTCDataChannel
-RTCPeerConnection
-A simple RTCDataChannel sample

See also on MDN

Properties

Channel

The read-only property RTCDataChannelEvent.channel
returns the RTCDataChannel associated with the event.

[Value("channel")]
public RTCDataChannel Channel { get; }

Property Value

RTCDataChannel

A RTCDataChannel object representing the data channel linking the
receiving RTCPeerConnection to its remote peer.

Remarks