state

This article needs a technical review. How you can help.

This article needs an editorial review. How you can help.

The state attribute represents the presentation connection's current state. It can take one of the values of PresentationConnectionState depending on the connection state:

connecting
means that the user agent is attempting to establish a presentation connection with the destination browsing context. This is the initial state when a PresentationConnection object is created.
connected
means that the presentation connection is established and communication is possible.
closed
means that the presentation connection has been closed, or could not be opened. It may be re-opened through a call to reconnect(). No communication is possible.
terminated
means that the receiving browsing context has been terminated. Any presentation connection to that presentation is also terminated and cannot be re-opened. No communication is possible.

Document Tags and Contributors

 Contributors to this page: MashKao
 Last updated by: MashKao,