Ditto 4.4.3
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
ditto::Observer Class Referenceabstract

An observation token returned by any observation API in the Ditto SDK. Retain this object to continue receiving updates. More...

#include <Observer.hpp>

Inheritance diagram for ditto::Observer:
ditto::AttachmentFetcher ditto::AuthenticationStatusObserver ditto::LiveQuery ditto::Subscription

Public Member Functions

void stop ()
 Stops the observation and cleans up all associated resources.
 

Protected Member Functions

 Observer ()
 Constructs a new Observer.
 
 ~Observer ()
 Destroy the Abstract Observer object canceling the observer if it hasn't been done in stop
 

Detailed Description

An observation token returned by any observation API in the Ditto SDK. Retain this object to continue receiving updates.