OptionalonA callback for when SendbirdChat is connected.
OptionalonA callback for when connection is delayed.
OptionalonA callback for when SendbirdChat is disconnected.
OptionalonA callback for when reconnection is failed.
OptionalonA callback for when SendbirdChat tries to reconnect.
OptionalonA 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().