Twitch SDK (Internal)
Public Member Functions | List of all members
ttv::tracking::ITrackingAPIListener Class Referenceabstract

#include <trackingapilistener.h>

Inheritance diagram for ttv::tracking::ITrackingAPIListener:
ttv::IModuleListener

Public Member Functions

virtual void TrackingEventFlushCompleted (uint32_t batchStartId, uint32_t batchEndId, const std::string &serverUrl, TTV_ErrorCode ec)=0
 
virtual void TrackingEventsDiscarded (uint32_t batchStartId, uint32_t batchEndId)=0
 
virtual void ModuleStateChanged (IModule *source, IModule::State state, TTV_ErrorCode ec)=0
 

Member Function Documentation

◆ ModuleStateChanged()

virtual void ttv::IModuleListener::ModuleStateChanged ( IModule source,
IModule::State  state,
TTV_ErrorCode  ec 
)
pure virtualinherited

◆ TrackingEventFlushCompleted()

virtual void ttv::tracking::ITrackingAPIListener::TrackingEventFlushCompleted ( uint32_t  batchStartId,
uint32_t  batchEndId,
const std::string &  serverUrl,
TTV_ErrorCode  ec 
)
pure virtual

Fired whenever a tracking event flush attempt to the provided host is completed. The ids reported are provided to the client in the TrackingAPI::TrackEvent overload that provides the eventId.

◆ TrackingEventsDiscarded()

virtual void ttv::tracking::ITrackingAPIListener::TrackingEventsDiscarded ( uint32_t  batchStartId,
uint32_t  batchEndId 
)
pure virtual

Fired whenever the tracking library must discard events because the library is being shutdown. The ids reported are provided to the client in the TrackingAPI::TrackEvent overload that provides the eventId.


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