Kanzi Connect  1.1.10
Kanzi Connect C++ API
kanzi::connect::ContentProvider::Observer Class Reference

Allows to monitor changes in Content Provider. More...

#include <content_provider.hpp>

Inheritance diagram for kanzi::connect::ContentProvider::Observer:
kanzi::connect::ContentProviderCollection kanzi::connect::ContentSubscription

Public Member Functions

virtual void onChanged (ContentProvider *, const string &, bool)
 Callback to notify that change has occurred in given content provider. More...
 
virtual void onInvalidated (ContentProvider *, const string &, int, int, int)
 Callback to notify invalidation of content provider. More...
 
virtual ~Observer ()
 Virtual destructor (for SWIG). More...
 

Detailed Description

Allows to monitor changes in Content Provider.

Constructor & Destructor Documentation

◆ ~Observer()

virtual kanzi::connect::ContentProvider::Observer::~Observer ( )
inlinevirtual

Virtual destructor (for SWIG).

Member Function Documentation

◆ onChanged()

virtual void kanzi::connect::ContentProvider::Observer::onChanged ( ContentProvider ,
const string &  ,
bool   
)
inlinevirtual

Callback to notify that change has occurred in given content provider.

Parameters
providerContent Provider that changed.
uriUri within Content Provider domain that changed.
asyncBoolean indicating whether changes need to propagate to subscribers immediately, or is it ok to process the queries asynchronously.

Reimplemented in kanzi::connect::ContentSubscription.

◆ onInvalidated()

virtual void kanzi::connect::ContentProvider::Observer::onInvalidated ( ContentProvider ,
const string &  ,
int  ,
int  ,
int   
)
inlinevirtual

Callback to notify invalidation of content provider.

Parameters
providerContent provider that changed.
reasonthe reason for invalidation. Not currently used.
beginRowinclusive start row of the change. Not currently used.
endRowinclusive end row of the change. Not currently used.

Reimplemented in kanzi::connect::ContentSubscription.


The documentation for this class was generated from the following file: