Class RTCPeerConnectionIceEvent
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The RTCPeerConnectionIceEvent interface represents events that occur in relation to {{Glossary("ICE")}} candidates with the target, usually an RTCPeerConnection.
[Value("RTCPeerConnectionIceEvent")]
public class RTCPeerConnectionIceEvent : Event
- Inheritance
-
RTCPeerConnectionIceEvent
- Inherited Members
Remarks
Only one event is of this type: RTCPeerConnection.Icecandidate.
-WebRTC
-Its usual target: RTCPeerConnection.
Constructors
RTCPeerConnectionIceEvent()
public RTCPeerConnectionIceEvent()
RTCPeerConnectionIceEvent(string, RTCPeerConnectionIceEventInit)
The RTCPeerConnectionIceEvent() constructor creates a new
RTCPeerConnectionIceEvent object.
public RTCPeerConnectionIceEvent(string type, RTCPeerConnectionIceEventInit eventInitDict = null)
Parameters
typestringeventInitDictRTCPeerConnectionIceEventInit
Remarks
-WebRTC
-Its usual target: RTCPeerConnection.
Properties
Candidate
The read-only candidate property
of the RTCPeerConnectionIceEvent interface returns the
RTCIceCandidate associated with the event.
[Value("candidate")]
public RTCIceCandidate? Candidate { get; }
Property Value
- RTCIceCandidate
An RTCIceCandidate object representing the ICE candidate that has been
received, ornullto indicate that there are no further candidates for this
negotiation session.
Remarks
-RTCPeerConnection.Icecandidate
-RTCPeerConnection
Url
[Value("url")]
public string? Url { get; }