Presentation API
The PresentationConnectionCloseEvent interface of the Presentation API is fired on a PresentationConnection when it is closed.
Constructor
- PresentationConnectionCloseEvent.PresentationConnectionCloseEvent
- : Creates a new PresentationConnectionCloseEvent.
Instance properties
- PresentationConnectionCloseEvent.message
- : A human-readable message that provides more information about why the connection was closed.
- PresentationConnectionCloseEvent.reason
- : Indicates why the connection was closed. This property takes one of the following values:
error,closed, orwentaway.
- : Indicates why the connection was closed. This property takes one of the following values:
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
