PresentationConnectionCloseEvent
PresentationConnectionCloseEvent 介面是 Presentation API 的一部分,當 PresentationConnection 被關閉時,會在其上觸發。
建構函式
PresentationConnectionCloseEvent()實驗性-
建立一個新的 PresentationConnectionCloseEvent。
例項屬性
PresentationConnectionCloseEvent.message只讀 實驗性-
提供有關連線關閉原因的可讀訊息。
PresentationConnectionCloseEvent.reason只讀 實驗性-
指示連線關閉的原因。此屬性取以下值之一:
error、closed或wentaway。
規範
| 規範 |
|---|
| Presentation API # interface-presentationconnectioncloseevent |
瀏覽器相容性
載入中…