Package io.objectbox.sync.listener
Interface SyncListener
-
- All Superinterfaces:
SyncChangeListener
,SyncCompletedListener
,SyncConnectionListener
,SyncLoginListener
,SyncTimeListener
- All Known Implementing Classes:
AbstractSyncListener
@Experimental public interface SyncListener extends SyncLoginListener, SyncCompletedListener, SyncChangeListener, SyncConnectionListener, SyncTimeListener
This listener has callback methods invoked by all fundamental synchronization events. Set viaSyncBuilder.listener(SyncListener)
orSyncClient.setSyncListener(SyncListener)
.See
AbstractSyncListener
for a no-op convenience implementation.Use more specific listeners, like
SyncLoginListener
, to only receive a sub-set of events.
-
-
Method Summary
-
Methods inherited from interface io.objectbox.sync.listener.SyncChangeListener
onSyncChanges
-
Methods inherited from interface io.objectbox.sync.listener.SyncCompletedListener
onUpdatesCompleted
-
Methods inherited from interface io.objectbox.sync.listener.SyncConnectionListener
onDisconnected
-
Methods inherited from interface io.objectbox.sync.listener.SyncLoginListener
onLoggedIn, onLoginFailed
-
Methods inherited from interface io.objectbox.sync.listener.SyncTimeListener
onServerTimeUpdate
-
-