UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
BackgroundHttpNotificationObject.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "CoreMinimal.h"
8#include "HAL/Platform.h"
11
13 : public TSharedFromThis<FBackgroundHttpNotificationObject, ESPMode::ThreadSafe>
14{
15public:
19
21
22private:
23 void OnApp_EnteringBackground();
24 void OnApp_EnteringForeground();
25
26private:
27 FText NotificationTitle;
28 FText NotificationAction;
29 FText NotificationBody;
30 FString NotificationActivationString;
31
32 bool bOnlySendNotificationInBackground;
33 bool bNotifyOnlyOnFullSuccess;
34
35 volatile bool bIsInBackground;
36 volatile int32 NumFailedDownloads;
37
38 int32 IdOverride;
39
40 class ILocalNotificationService* PlatformNotificationService;
41
42 FDelegateHandle OnApp_EnteringForegroundHandle;
43 FDelegateHandle OnApp_EnteringBackgroundHandle;
44
45 //No default constructor
47};
48
TSharedPtr< FBackgroundHttpNotificationObject, ESPMode::ThreadSafe > FBackgroundHttpNotificationObjectPtr
Definition BackgroundHttpNotificationObject.h:49
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition BackgroundHttpNotificationObject.h:14
BACKGROUNDHTTP_API void NotifyOfDownloadResult(bool bWasSuccess)
Definition BackgroundHttpNotificationObject.cpp:105
BACKGROUNDHTTP_API ~FBackgroundHttpNotificationObject()
Definition BackgroundHttpNotificationObject.cpp:69
Definition IDelegateInstance.h:14
Definition Text.h:385
Definition LocalNotification.h:15
Definition SharedPointer.h:1640
Definition SharedPointer.h:692