Table of Contents

Class PresentationConnectionAvailableEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The PresentationConnectionAvailableEvent interface of the Presentation API is fired on a PresentationRequest when a connection associated with the object is created.
[Value("PresentationConnectionAvailableEvent")]
public class PresentationConnectionAvailableEvent : Event
Inheritance
PresentationConnectionAvailableEvent
Inherited Members

Remarks

A controlling user agent fires a trusted event named connectionavailable on a PresentationRequest when a connection associated with the object is created. It is fired at the PresentationRequest instance, using the PresentationConnectionAvailableEvent interface, with the connection attribute set to the PresentationConnection object that was created. The event is fired for each connection that is created for the controller, either by the controller calling start() or reconnect(), or by the controlling user agent creating a connection on the controller's behalf via defaultRequest.

See also on MDN

Constructors

PresentationConnectionAvailableEvent()

public PresentationConnectionAvailableEvent()

PresentationConnectionAvailableEvent(string, PresentationConnectionAvailableEventInit)

NOTE
Experimental
The PresentationConnectionAvailableEvent() constructor creates a new PresentationConnectionAvailableEvent object.
public PresentationConnectionAvailableEvent(string type, PresentationConnectionAvailableEventInit eventInitDict)

Parameters

type string
eventInitDict PresentationConnectionAvailableEventInit

Remarks

Properties

Connection

NOTE
Experimental
When an incoming connection is created, a receiving user agent fires a trusted event, named connectionavailable, on a PresentationReceiver. The trusted event is fired at the presentation controller's monitor, using the PresentationConnectionAvailableEvent interface, with the connection attribute set to the PresentationConnection object that was created.
[Value("connection")]
public PresentationConnection Connection { get; }

Property Value

PresentationConnection

Remarks

The event is fired for all connections that are created when monitoring incoming presentation connections.

See also on MDN