ContentLoader::ObserverΒΆ

class kanzi::connect::ContentLoader::Observer

Class that contains callbacks to deliver the results.

Subclassed by ContentAdapter, DebugContentObserver, RuntimeDataSubscriber

Public Functions

virtual void onContentInvalidated(ContentLoader *loader) = 0

Callback to notify that previously loaded content is no longer valid.

Parameters
  • loader: Content loader that invalidated the content.

virtual void onContentLoaded(ContentLoader *loader, ContentResult *result) = 0

Callback to notify that new content has been loaded.

Parameters
  • loader: Content loader that finished loading.

  • result: Result of content query.

virtual void onRuntimeDataUpdateReceived(ContentLoader *loader, const string &uri, const string &stream) = 0

Callback to notify when runtime data update is received.