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

Listens to sync error event on a sync client. More...

#include <objectbox-sync.hpp>

Inheritance diagram for obx::SyncClientErrorListener:
Inheritance graph

Public Member Functions

virtual ~SyncClientErrorListener ()=default
 
virtual void errorOccurred (OBXSyncError error) noexcept=0
 Called when the client detects a sync error. More...
 

Detailed Description

Listens to sync error event on a sync client.

Constructor & Destructor Documentation

◆ ~SyncClientErrorListener()

virtual obx::SyncClientErrorListener::~SyncClientErrorListener ( )
virtualdefault

Member Function Documentation

◆ errorOccurred()

virtual void obx::SyncClientErrorListener::errorOccurred ( OBXSyncError  error)
pure virtualnoexcept

Called when the client detects a sync error.

Parameters
error- indicates the error event that occurred.