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
object that was created. The event is fired for each connection that is created for the controller, either by the controller calling
reconnect(), or by the controlling user agent creating a connection on the controller's behalf via
- Creates a new PresentationConnectionAvailableEvent.
- Returns a references to the
PresentationConnectionobject that fired the event.
The definition of 'PresentationConnectionAvailableEvent interface' in that specification.
|Candidate Recommendation||Initial definition.|
|Feature||Android webview||Chrome for Android||Edge mobile||Firefox for Android||Opera Android||iOS Safari||Samsung Internet|
1. From version 51: this feature is behind the
dom.presentation.enabled preference (needs to be set to
true). To change preferences in Firefox, visit about:config.