Package io.objectbox.sync.listener
Interface SyncConnectionListener
- All Known Subinterfaces:
SyncListener
- All Known Implementing Classes:
AbstractSyncListener
public interface SyncConnectionListener
Listens to sync connection events.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when the client is disconnected from the sync server, e.g.
-
Method Details
-
onDisconnected
void onDisconnected()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.
-