Ditto 3.0.3-alpha2
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.