Interface SyncChangeListener

All Known Subinterfaces:
SyncListener
All Known Implementing Classes:
AbstractSyncListener

@Experimental public interface SyncChangeListener
Notifies of fine granular changes on the object level happening during sync. Register your listener using SyncBuilder.changesListener(SyncChangesListener). Note that enabling fine granular notification can slightly reduce performance.

See also SyncListener for the general sync listener.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onSyncChanges(SyncChange[] syncChanges)
    Called each time when data from sync was applied locally.
  • Method Details

    • onSyncChanges

      void onSyncChanges(SyncChange[] syncChanges)
      Called each time when data from sync was applied locally.
      Parameters:
      syncChanges - This contains the entity type (schema) ID, the removed IDs and the put IDs for that entity.