Agora C++ API Reference for All Platforms

Classes | Public Member Functions | List of all members
agora::base::ISyncClientObserver Class Referenceabstract

## Classes
struct | CollectionEvent

## Public Member Functions
virtual void | onCollectionEvent (const char *previousJson, const char *curJson, const char *collection, const char *docName, const CollectionEvent *events, int eventSize)=0
virtual void | onDatabaseEvent (const char *databaseName, SyncClientError error)=0
virtual void | onDataException (const char *databaseName, const char *collectionName)=0
virtual | ~ISyncClientObserver ()

## Detailed Description

sync client observer

## Constructor & Destructor Documentation

## ◆ ~ISyncClientObserver()

virtual agora::base::ISyncClientObserver::~ISyncClientObserver | ( |  | ) |
| inline virtual

## Member Function Documentation

## ◆ onCollectionEvent()

virtual void agora::base::ISyncClientObserver::onCollectionEvent | ( | const char * | previousJson,
|  | const char * | curJson,
|  | const char * | collection,
|  | const char * | docName,
|  | const CollectionEvent * | events,
|  | int | eventSize
| ) |  |
| pure virtual

## ◆ onDatabaseEvent()

virtual void agora::base::ISyncClientObserver::onDatabaseEvent | ( | const char * | databaseName,
|  | SyncClientError | error
| ) |  |
| pure virtual

## ◆ onDataException()

virtual void agora::base::ISyncClientObserver::onDataException | ( | const char * | databaseName,
|  | const char * | collectionName
| ) |  |
| pure virtual