PresentationConnectionCloseEvent

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!
您也可以阅读此文章的English (US)版。

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

文档标签和贡献者