ObjectBox C and C++ API  4.0.3
obx::SyncChangeListener Class Referenceabstract

Notifies of fine granular changes on the object level happening during sync. More...

#include <objectbox-sync.hpp>

Inheritance diagram for obx::SyncChangeListener:
Inheritance graph

Public Member Functions

virtual ~SyncChangeListener ()=default
 
virtual void changed (const std::vector< SyncChange > &changes) noexcept=0
 Called each time when data changes from sync were applied locally. More...
 

Detailed Description

Notifies of fine granular changes on the object level happening during sync.

Note
this may affect performance. Use SyncClientCompletionListener for the general synchronization-finished check.

Constructor & Destructor Documentation

◆ ~SyncChangeListener()

virtual obx::SyncChangeListener::~SyncChangeListener ( )
virtualdefault

Member Function Documentation

◆ changed()

virtual void obx::SyncChangeListener::changed ( const std::vector< SyncChange > &  changes)
pure virtualnoexcept

Called each time when data changes from sync were applied locally.