Beamable SDK
Classes | Public Member Functions | List of all members
Beamable.Api.Analytics.AnalyticsTracker Class Reference

This class defines the main entry point for the Analytics feature. More...

Inheritance diagram for Beamable.Api.Analytics.AnalyticsTracker:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Api.Analytics.AnalyticsTracker:
Collaboration graph
[legend]

Classes

struct  BatchSettings
 

Public Member Functions

 AnalyticsTracker (PlatformService platform, PlatformRequester requester, CoroutineService coroutineService, int batchTimeoutSeconds, int batchMaxSize)
 Initialize the specified platformServer, customerId, projectId, batchTimeoutSeconds and batchMaxSize. Analytics Events can be tracked before initialization, but will not be sent until initialization occurs. More...
 
void TrackEvent (IAnalyticsEvent analyticsEvent, bool sendImmediately=false)
 Tracks the event. More...
 
void UpdateBatchSettings (BatchSettings batchSettings, bool flush=true)
 
void RevertBatchSettings (bool flush=true)
 

Detailed Description

This class defines the main entry point for the Analytics feature.

Related Links

img beamable-logo

Constructor & Destructor Documentation

◆ AnalyticsTracker()

Beamable.Api.Analytics.AnalyticsTracker.AnalyticsTracker ( PlatformService  platform,
PlatformRequester  requester,
CoroutineService  coroutineService,
int  batchTimeoutSeconds,
int  batchMaxSize 
)
inline

Initialize the specified platformServer, customerId, projectId, batchTimeoutSeconds and batchMaxSize. Analytics Events can be tracked before initialization, but will not be sent until initialization occurs.

Parameters
batchTimeoutSecondsBatch timeout seconds before expiration.
batchMaxSizeBatch max size before expiration.

Member Function Documentation

◆ TrackEvent()

void Beamable.Api.Analytics.AnalyticsTracker.TrackEvent ( IAnalyticsEvent  analyticsEvent,
bool  sendImmediately = false 
)
inline

Tracks the event.

Parameters
analyticsEventAnalytics event.
sendImmediatelyIf set to true send immediately.

Implements Beamable.Api.Analytics.IAnalyticsTracker.


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