SyncConnectionListener
public protocol SyncConnectionListener
Listens to sync connection events.
-
Declaration
Swift
func connected()
-
Called when the client is disconnected from the sync server, e.g. due to a network error.
Depending on the configuration, the sync client typically tries to reconnect automatically, triggering a
SyncLoginListener
again.Declaration
Swift
func disconnected()