Table of Contents

Class RTCErrorEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The WebRTC API's RTCErrorEvent interface represents an error sent to a WebRTC object. It's based on the standard Event interface, but adds RTC-specific information describing the error, as shown below.

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

Remarks

-WebRTC API
-RTCError
-The error event occurs on the following interfaces: RTCDataChannel and RTCDtlsTransport
-RTCPeerConnectionIceErrorEvent

See also on MDN

Constructors

RTCErrorEvent()

public RTCErrorEvent()

RTCErrorEvent(string, RTCErrorEventInit)

public RTCErrorEvent(string type, RTCErrorEventInit eventInitDict)

Parameters

type string
eventInitDict RTCErrorEventInit

Properties

Error

The read-only RTCErrorEvent property error
contains an RTCError object describing the details of the error which the
event is announcing.

[Value("error")]
public RTCError Error { get; }

Property Value

RTCError

An RTCError object whose properties provide details about the error
which has occurred in the context of a WebRTC operation.

Remarks