This type defines the Client main entry point for the Analytics feature.
More...
|
| AnalyticsTracker (IPlatformService 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) |
| Report some analytics event to the Beamable Cloud. Note that this analytic event may not be reported immediately unless the sendImmediately argument is set. Otherwise, the event will be recorded during the next analytics batch event. More...
|
|
void | UpdateBatchSettings (BatchSettings batchSettings, bool flush=true) |
| Change the BatchSettings that the IAnalyticsTracker uses to send messages to Beamable. You can revert these changes by using the RevertBatchSettings method. More...
|
|
void | RevertBatchSettings (bool flush=true) |
| Revert any BatchSettings customizations made through the UpdateBatchSettings method. More...
|
|
This type defines the Client main entry point for the Analytics feature.
Related Links
◆ AnalyticsTracker()
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
-
batchTimeoutSeconds | Batch timeout seconds before expiration. |
batchMaxSize | Batch max size before expiration. |
◆ RevertBatchSettings()
void Beamable.Api.Analytics.AnalyticsTracker.RevertBatchSettings |
( |
bool |
flush = true | ) |
|
|
inline |
◆ TrackEvent()
void Beamable.Api.Analytics.AnalyticsTracker.TrackEvent |
( |
IAnalyticsEvent |
analyticsEvent, |
|
|
bool |
sendImmediately = false |
|
) |
| |
|
inline |
Report some analytics event to the Beamable Cloud. Note that this analytic event may not be reported immediately unless the sendImmediately argument is set. Otherwise, the event will be recorded during the next analytics batch event.
- Parameters
-
analyticsEvent | An instance of a IAnalyticsEvent. You can create your own types of events. For an example, see, SampleCustomEvent |
sendImmediately | If set to true send immediately. |
Implements Beamable.Api.Analytics.IAnalyticsTracker.
◆ UpdateBatchSettings()
void Beamable.Api.Analytics.AnalyticsTracker.UpdateBatchSettings |
( |
BatchSettings |
batchSettings, |
|
|
bool |
flush = true |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file:
- com.beamable/Runtime/Core/Platform/SDK/Analytics/AnalyticsTracker.cs