# ReconnectListeners

## Public Method Summary <a href="#public-method-summary" id="public-method-summary"></a>

| **Methods**                                              | **Description**                                                                                     | **Parameters** |
| -------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -------------- |
| onLocalConnectionLost(fn)                                | The Event handler is invoked when the local participant loses network connection                    |                |
| onLocalConnectionResumed(fn)                             | The Event handler is invoked when the user acquired back the connection to the network              |                |
| onLocalParticipantReconnected(fn)                        | The Event handler is invoked when the user successfully reconnected to the session                  |                |
| onLocalParticipantReconnecting(fn)                       | The Event handler is invoked when the user is in the process of reconnecting                        |                |
| onRemoteParticipantConnectionLost((participantId) => {}) | The Event handler is invoked when the remote participant loses connection to the session            |                |
| onRemoteParticipantReconnecting((participantId) => {})   | The Event handler is invoked when the remote participant starts the reconnect process               |                |
| onRemoteParticipantReconnected((participantId) => {})    | The Event handler is invoked when the remote participant is successfully reconnected to the session |                |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.sceenic.co/watch-together-sdk/sscale-confluence-api-references/sscale-confluence-web-sdk-reference/reconnectlisteners.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
