Navigation
API > API/Runtime > API/Runtime/Analytics > API/Runtime/Analytics/FAnalytics
Description
Factory function to create a specific analytics provider by providing the string name of the provider module, which will be dynamically loaded.
| Name | CreateAnalyticsProvider |
| Type | function |
| Header File | /Engine/Source/Runtime/Analytics/Analytics/Public/Analytics.h |
| Include Path | #include "Analytics.h" |
| Source | /Engine/Source/Runtime/Analytics/Analytics/Private/Analytics.cpp |
virtual TSharedPtr < IAnalyticsProvider > CreateAnalyticsProvider
(
const FName & ProviderModuleName,
const FAnalyticsProviderConfigurationDelegate & GetConfigValue
)
the analytics provider instance that was created. Could be NULL if initialization failed.
Parameters
| Name | Remarks |
|---|---|
| ProviderModuleName | The name of the module that contains the specific provider. It must be the primary module interface. |
| GetConfigvalue | Delegate used to configure the provider. The provider will call this delegate once for each key it requires for configuration. |