Defines required configuration values for ET analytics provider. 更多...
#include <AnalyticsET.h>
Public 成员函数 | |
| Config ()=default | |
| Default ctor to ensure all values have their proper default. | |
| Config (FString InAPIKeyET, FString InAPIServerET, FString InAppVersionET=FString(), bool InUseLegacyProtocol=false, FString InAppEnvironment=FString(), FString InUploadType=FString(), TArray< FString > InAltApiServers=TArray< FString >(), float InFlushIntervalSec=-1.f, int32 InMaximumPayloadSize=-1, int32 InPreallocatedPayloadSize=-1) | |
| Ctor exposing common configurables . | |
静态 Public 成员函数 | |
| static FString | GetDefaultAppEnvironment () |
| Default value if no APIServer configuration is provided. | |
| static FString | GetDefaultUploadType () |
| Default value if no UploadType is given, and UseDataRouter protocol is specified. | |
| static FString | GetKeyNameForAPIKey () |
| KeyName required for APIKey configuration. | |
| static FString | GetKeyNameForAPIServer () |
| KeyName required for APIServer configuration. | |
| static FString | GetKeyNameForAppEnvironment () |
| For the the data router backend protocol. | |
| static FString | GetKeyNameForAppVersion () |
| KeyName required for AppVersion configuration. | |
| static FString | GetKeyNameForUploadType () |
| For the the data router backend protocol. | |
| static FString | GetKeyNameForUseLegacyProtocol () |
| Optional parameter to use the legacy backend protocol. | |
Public 属性 | |
| TArray< FString > | AltAPIServersET |
| ET Alt API Servers - Base URLs to send events on retry. | |
| FString | APIKeyET |
| ET APIKey - Get from your account manager | |
| FString | APIServerET |
| ET API Server - Base URL to send events. 更多... | |
| FString | AppEnvironment |
| The AppEnvironment that the data router should use. 更多... | |
| FString | AppVersionET |
| AppVersion - defines the app version passed to the provider. 更多... | |
| bool | bDropEventsOnFlushFailure = true |
| When true (default), events are dropped if flush fails | |
| float | FlushIntervalSec = -1.f |
| Maximum time to elapse before forcing events to be flushed. 更多... | |
| int32 | MaximumPayloadSize = -1 |
| Maximum size a payload can reach before we force a flush of the payload. 更多... | |
| int32 | PreallocatedPayloadSize = -1 |
| We preallocate a payload. 更多... | |
| uint32 | RetryLimitCount = 0 |
| Maximum number of retries to attempt. | |
| FString | UploadType |
| The UploadType that the data router should use. 更多... | |
| bool | UseLegacyProtocol = false |
| When true, sends events using the legacy ET protocol that passes all attributes as URL parameters. 更多... | |
Defines required configuration values for ET analytics provider.
APIKeyET MUST be set. Set APIServerET to an empty string to create a "NULL" analytics provider that will be a valid instance but will suppress sending any events.
| FString FAnalyticsET::Config::APIServerET |
ET API Server - Base URL to send events.
Set this to an empty string to essentially create a NULL analytics provider that will be non-null, but won't actually send events.
| FString FAnalyticsET::Config::AppEnvironment |
The AppEnvironment that the data router should use.
Defaults to GetDefaultAppEnvironment.
| FString FAnalyticsET::Config::AppVersionET |
AppVersion - defines the app version passed to the provider.
By default this will be FEngineVersion::Current(), but you can supply your own. As a convenience, you can use -AnalyticsAppVersion=XXX to force the AppVersion to a specific value. Useful for playtest etc where you want to define a specific version string dynamically. If you supply your own Version string, occurrences of "%VERSION%" are replaced with FEngineVersion::Current(). ie, -AnalyticsAppVersion=MyCustomID-VERSION%.
| float FAnalyticsET::Config::FlushIntervalSec = -1.f |
Maximum time to elapse before forcing events to be flushed.
Use a negative value to use the defaults (60 sec).
| int32 FAnalyticsET::Config::MaximumPayloadSize = -1 |
Maximum size a payload can reach before we force a flush of the payload.
Use a negative value to use the defaults. See FAnalyticsProviderETEventCache.
| int32 FAnalyticsET::Config::PreallocatedPayloadSize = -1 |
We preallocate a payload.
It defaults to the Maximum configured payload size (see FAnalyticsProviderETEventCache). Use a negative value use the default. See FAnalyticsProviderETEventCache.
| FString FAnalyticsET::Config::UploadType |
The UploadType that the data router should use.
Defaults to GetDefaultUploadType.
| bool FAnalyticsET::Config::UseLegacyProtocol = false |
When true, sends events using the legacy ET protocol that passes all attributes as URL parameters.
Defaults to false.