UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FAnalyticsSessionSummarySender Class Reference

#include <AnalyticsSessionSummarySender.h>

+ Inheritance diagram for FAnalyticsSessionSummarySender:

Public Member Functions

ANALYTICSET_API FAnalyticsSessionSummarySender (IAnalyticsProviderET &Provider, TFunction< bool(const FAnalyticsEventAttribute &)> ShouldEmitFilterFunc=TFunction< bool(const FAnalyticsEventAttribute &)>())
 
virtual ANALYTICSET_API bool SendSessionSummary (const FString &UserId, const FString &AppId, const FString &AppVersion, const FString &SessionId, const TArray< FAnalyticsEventAttribute > &Properties) override
 
- Public Member Functions inherited from IAnalyticsSessionSummarySender
virtual ~IAnalyticsSessionSummarySender ()=default
 

Detailed Description

Sends the analytics session summary to Epic Games analytics service.

Constructor & Destructor Documentation

◆ FAnalyticsSessionSummarySender()

FAnalyticsSessionSummarySender::FAnalyticsSessionSummarySender ( IAnalyticsProviderET &  Provider,
TFunction< bool(const FAnalyticsEventAttribute &)>  ShouldEmitFilterFunc = TFunction<bool(const FAnalyticsEventAttribute&)>() 
)

Construction a summary sender.

Parameters
ProviderThe analytics provider that will be used to emits the summary event.
ShouldEmitFilterFuncA filter function invoked for each properties before sending. If the function is bound and returns false, the property will be filtered out. If unbound, all properties passed to SendSesionSummary() are emitted.

Member Function Documentation

◆ SendSessionSummary()

bool FAnalyticsSessionSummarySender::SendSessionSummary ( const FString &  UserId,
const FString &  AppId,
const FString &  AppVersion,
const FString &  SessionId,
const TArray< FAnalyticsEventAttribute > &  Properties 
)
overridevirtual

Emits the summary events for the specified session id on behalf of the specified user/app/appversion. The function filters the properties by invoking the functor specified at construction.

Parameters
UserIdThe user emitting the report.
AppIdThe application for which the reports is emitted.
AppVersionThe application version for which the report is emitted.
SessionIdThe session is for which the report is emitted.
PropertiesThe list of properties that makes up the summary event.

Implements IAnalyticsSessionSummarySender.


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