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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onDisconnected()
Called when the client is disconnected from the sync server, e.g.
-
-
-
Method Detail
-
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.
-
-