PresentationConnectionCloseEvent

The PresentationConnectionCloseEvent interface of the Presentation API is fired on a PresentationConnection when it is closed.

Constructor

PresentationConnectionCloseEvent.PresentationConnectionCloseEvent()
Crestes a new PresentationConnectionCloseEvent.

Properties

PresentationConnectionCloseEvent.message Read only
A human-readable message that provides more information about why the connection was closed.
PresentationConnectionCloseEvent.reason Read only
Indicates why the connection was closed. This property takes one of the following values: error, closed, or wentaway.

Specifications

Specification Status Comment
Presentation API
The definition of 'PresentationConnectionCloseEvent interface' in that specification.
Editor's Draft Initial definition.

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support

50.0

? ? ? ?
Feature Android Android Webview Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support No support No support ? ? ? ? ? 50.0

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/presentationconnectioncloseevent

API Events events Experimental Presentation API PresentationConnectionCloseEvent PresentationRequest Reference