Optional
onA callback for when SendbirdChat is connected.
Optional
onA callback for when SendbirdChat is disconnected.
Optional
onA callback for when reconnection is failed.
Optional
onA callback for when SendbirdChat tries to reconnect.
Optional
onA callback for when connection is reestablished.
Description
Connection handler. This handler provides callbacks for automatically managed reconnection events. SendbirdChat tries reconnection when the connection is lost. This handler can be used to track the reconnection state. To add or remove this handler, refer to sendbirdChat.addConnectionHandler() and sendbirdChat.removeConnectionHandler().