IAnalyticsProviderET

ET specific analytics provider instance.

Windows
MacOS
Linux

Inheritance Hierarchy

IAnalyticsProvider

IAnalyticsProviderET

References

Module

AnalyticsET

Header

/Engine/Source/Runtime/Analytics/AnalyticsET/Public/IAnalyticsProviderET.h

Include

#include "IAnalyticsProviderET.h"

Syntax

class IAnalyticsProviderET : public IAnalyticsProvider

Remarks

ET specific analytics provider instance. Exposes additional APIs to support Json-based events, default attributes, and allowing events to be disabled (generally via hotfixing).

Functions

Name Description

Public function

void

 

BlockUntilFlushed

(
    float InTimeoutSec
)

Blocks execution in the thread until all events have been flushed to the network.

Public function Const

const FStrin...

 

GetAppID()

Method to get the AppID (APIKey)

Public function Const

const FStrin...

 

GetAppVersion()

Method to get the AppVersion

Public function Const

const FAnaly...

 

GetConfig()

Return the current provider configuration.

Public function Const

FAnalyticsEv...

 

GetDefaultEventAttribute

(
    int AttributeIndex
)

Used with GetDefaultEventAttributeCount to iterate over the default attributes.

Public function Const

int32

 

GetDefaultEventAttributeCount()

Used with GetDefaultAttribute to iterate over the default attributes.

Public function Const

TArray< FAna...

 

GetDefaultEventAttributesSafe()

Public function

void

 

RecordEvent

(
    FString&& EventName,
    const TArray< FAnalyticsEventAttrib...
)

Primary RecordEvent API. Allow move semantics to capture the attributes.

Public function

void

 

SetAppID

(
    FString&& AppID
)

Special setter to set the AppID, something that is not normally allowed for third party analytics providers.

Public function

void

 

SetAppVersion

(
    FString&& AppVersion
)

Sets the AppVersion.

Public function

void

 

SetDefaultEventAttributes

(
    TArray< FAnalyticsEventAttribute > ...
)

Sets an array of attributes that will automatically be appended to any event that is sent.

Public function

void

 

SetEventCallback

(
    const OnEventRecorded& Callback
)

Set a callback to be invoked any time an event is queued.

Public function

void

 

SetShouldRecordEventFunc

(
    const ShouldRecordEventFunction& S...
)

Set an event filter to dynamically control whether an event should be sent.

Public function

void

 

SetURLEndpoint

(
    const FString& UrlEndpoint,
    const TArray< FString >& AltDomain...
)

Updates the default URL endpoint and AltDomains.

Public function Const

bool

 

ShouldRecordEvent

(
    const FString& EventName
)

Allows higher level code to abort logic to set up for a RecordEvent call by checking the filter that will be used to send the event first.

Public function

bool

 

StartSession

(
    FString InSessionID,
    const TArray< FAnalyticsEventAttrib...
)

Primary StartSession API. Allow move semantics to capture the attributes.

Overridden from IAnalyticsProvider

Name Description

Public function Virtual

void

 

RecordEvent

(
    const FString& EventName,
    const TArray< FAnalyticsEventAttrib...
)

This class augments RecordEvent with a version that takes the EventName by rvalue reference to save a string copy.

Public function Virtual

bool

 

StartSession

(
    const TArray< FAnalyticsEventAttrib...
)

This class augments StartSession with a version that takes the SessionID instead of always generating it.

Typedefs

Name

Description

OnEventRecorded

ShouldRecordEventFunction

Callback used before any event is actually sent. Allows higher level code to disable events.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss