The PresentationConnectionCloseEvent interface of the Presentation API is fired on a PresentationConnection when it is closed.
Constructor
PresentationConnectionCloseEvent.PresentationConnectionCloseEvent()- Creates a new PresentationConnectionCloseEvent.
Properties
PresentationConnectionCloseEvent.messageRead only- A human-readable message that provides more information about why the connection was closed.
PresentationConnectionCloseEvent.reasonRead only- Indicates why the connection was closed. This property takes one of the following values:
error,closed, orwentaway.
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 |