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

#include <AndroidErrorReport.h>

+ Inheritance diagram for FAndroidErrorReport:

Classes

class  FMergeInfo
 

Public Member Functions

 FAndroidErrorReport ()
 
 FAndroidErrorReport (const FString &Directory)
 
FText DiagnoseReport () const
 
FString FindCrashedAppPath () const
 
- Public Member Functions inherited from FGenericErrorReport
 FGenericErrorReport ()
 
 FGenericErrorReport (const FString &Directory)
 
bool SetUserComment (const FText &UserComment)
 
void SetPrimaryCrashProperties (FPrimaryCrashProperties &out_PrimaryCrashProperties)
 
void SetCrashReportClientVersion (const FString &InVersion)
 
TArray< FString > GetFilesToUpload () const
 
TArray< FString > GetOptionalAttachmentsToUpload () const
 
bool LoadWindowsReportXmlFile (FString &OutString) const
 
bool TryReadDiagnosticsFile ()
 
FString GetReportDirectory () const
 
FString GetReportDirectoryLeafName () const
 
FString FindCrashedAppName () const
 
FString FindCrashedAppPath () const
 
bool HasFilesToUpload () const
 
bool FindFirstReportFileWithExtension (FString &OutFilename, const TCHAR *Extension) const
 
void DeleteFiles ()
 

Static Public Member Functions

static void Init ()
 
static void ShutDown ()
 
static void FindMostRecentErrorReports (TArray< FString > &ErrorReportPaths, const FTimespan &MaxCrashReportAge)
 
- Static Public Member Functions inherited from FGenericErrorReport
static void Init ()
 
static void ShutDown ()
 

Protected Attributes

TArray< FMergeInfoMergeSources
 
- Protected Attributes inherited from FGenericErrorReport
FString ReportDirectory
 
TArray< FString > ReportFilenames
 
FString OptionalAttachmentsDirectory
 
TArray< FString > OptionalAttachmentsFilenames
 
bool bValidCallstack
 

Detailed Description

Helper that works with Android Error Reports

Constructor & Destructor Documentation

◆ FAndroidErrorReport() [1/2]

FAndroidErrorReport::FAndroidErrorReport ( )
inline

Default constructor: creates a report with no files

◆ FAndroidErrorReport() [2/2]

FAndroidErrorReport::FAndroidErrorReport ( const FString &  Directory)
explicit

Discover all files in the crash report directory

Parameters
DirectoryFull path to directory containing the report

Member Function Documentation

◆ DiagnoseReport()

FText FAndroidErrorReport::DiagnoseReport ( ) const

◆ FindCrashedAppPath()

FString FAndroidErrorReport::FindCrashedAppPath ( ) const
inline

Get the full path of the crashed app from the report

◆ FindMostRecentErrorReports()

static void FAndroidErrorReport::FindMostRecentErrorReports ( TArray< FString > &  ErrorReportPaths,
const FTimespan MaxCrashReportAge 
)
inlinestatic

Do nothing - shouldn't be called on Android

Returns
Empty string

◆ Init()

void FAndroidErrorReport::Init ( )
static

Load helper modules

◆ ShutDown()

void FAndroidErrorReport::ShutDown ( )
static

Unload helper modules

Member Data Documentation

◆ MergeSources

TArray<FMergeInfo> FAndroidErrorReport::MergeSources
protected

Filenames and merge info type of mergeable source files.


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