W3cubDocs

/DOM

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.
Candidate Recommendation 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

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionCloseEvent