Beamable SDK
|
This type defines the Client main entry point for the Analytics feature. More...
Public Member Functions | |
void | TrackEvent (IAnalyticsEvent analyticsEvent, bool sendImmediately) |
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.
void Beamable.Api.Analytics.IAnalyticsTracker.RevertBatchSettings | ( | bool | flush = true | ) |
Revert any BatchSettings customizations made through the UpdateBatchSettings method.
flush | Force that any pending analytic events are sent to Beamable at this moment. |
Implemented in Beamable.Api.Analytics.AnalyticsTracker.
void Beamable.Api.Analytics.IAnalyticsTracker.TrackEvent | ( | IAnalyticsEvent | analyticsEvent, |
bool | sendImmediately | ||
) |
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.
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. |
Implemented in Beamable.Api.Analytics.AnalyticsTracker.
void Beamable.Api.Analytics.IAnalyticsTracker.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.
batchSettings | A new set of BatchSettings. This will override the existing settings. |
flush | Force that any pending analytic events are sent to Beamable at this moment. |
Implemented in Beamable.Api.Analytics.AnalyticsTracker.