Navigation
API > API/Runtime > API/Runtime/Analytics > API/Runtime/Analytics/IAnalyticsProvider
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void RecordError
(
const FString& Error |
Records an error that has happened in the game | Interfaces/IAnalyticsProvider.h | |
virtual void RecordError
(
const FString& Error, |
Records an error that has happened in the game | Interfaces/IAnalyticsProvider.h |
RecordError(const FString &)
Description
Records an error that has happened in the game
Note that not all providers support all events. In this case this method is equivalent to sending a regular event with name "Game Error".
| Name | RecordError |
| Type | function |
| Header File | /Engine/Source/Runtime/Analytics/Analytics/Public/Interfaces/IAnalyticsProvider.h |
| Include Path | #include "Interfaces/IAnalyticsProvider.h" |
virtual void RecordError
(
const FString & Error
)
Parameters
| Name | Remarks |
|---|---|
| Error | the error string to record |
RecordError(const FString &, const TArray< FAnalyticsEventAttribute > &)
Description
Records an error that has happened in the game
Note that not all providers support all events. In this case this method is equivalent to sending a regular event with name "Game Error".
| Name | RecordError |
| Type | function |
| Header File | /Engine/Source/Runtime/Analytics/Analytics/Public/Interfaces/IAnalyticsProvider.h |
| Include Path | #include "Interfaces/IAnalyticsProvider.h" |
virtual void RecordError
(
const FString & Error,
const TArray < FAnalyticsEventAttribute > & EventAttrs
)
Parameters
| Name | Remarks |
|---|---|
| Error | the error string to record |
| EventAttrs | a list of key/value pairs to assign to this event |