Navigation
API > API/Runtime > API/Runtime/Core
Provides notifications for an on-going asynchronous task.
| Name | FAsyncTaskNotification |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/AsyncTaskNotification.h |
| Include Path | #include "Misc/AsyncTaskNotification.h" |
Syntax
class FAsyncTaskNotification
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAsyncTaskNotification
(
FAsyncTaskNotification&& InOther |
Movable. | Misc/AsyncTaskNotification.h | |
FAsyncTaskNotification
(
const FAsyncTaskNotification& |
Non-copyable. | Misc/AsyncTaskNotification.h | |
FAsyncTaskNotification
(
const FAsyncTaskNotificationConfig& InConfig |
Create an asynchronous task notification. | Misc/AsyncTaskNotification.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FAsyncTaskNotification() |
Destroy the asynchronous task notification. | Misc/AsyncTaskNotification.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NotificationImpl | TSharedPtr< IAsyncTaskNotificationImpl > | Pointer to the real notification implementation | Misc/AsyncTaskNotification.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Return the notification prompt action. | Misc/AsyncTaskNotification.h | ||
void SetCanCancel
(
const TAttribute< bool >& InCanCancel |
Set whether this task be canceled. | Misc/AsyncTaskNotification.h | |
void SetComplete
(
const FText& InTitleText, |
Update the text and set the task as complete. | Misc/AsyncTaskNotification.h | |
void SetComplete
(
const bool bSuccess |
Set the task as complete. | Misc/AsyncTaskNotification.h | |
void SetHyperlink
(
const FSimpleDelegate& InHyperlink, |
Set the Hyperlink for this notification. | Misc/AsyncTaskNotification.h | |
void SetKeepOpenOnFailure
(
const TAttribute< bool >& InKeepOpenOnFailure |
Set whether to keep this notification open on failure. | Misc/AsyncTaskNotification.h | |
void SetKeepOpenOnSuccess
(
const TAttribute< bool >& InKeepOpenOnSuccess |
Set whether to keep this notification open on success. | Misc/AsyncTaskNotification.h | |
void SetNotificationState
(
const FAsyncNotificationStateData& InState |
Set the notification state. | Misc/AsyncTaskNotification.h | |
void SetProgressText
(
const FText& InProgressText |
Set the progress text of this notification. | Misc/AsyncTaskNotification.h | |
void SetPromptText
(
const FText& InPromptText |
Set the prompt text of this notification, if needed. | Misc/AsyncTaskNotification.h | |
void SetTitleText
(
const FText& InTitleText, |
Set the title text of this notification. | Misc/AsyncTaskNotification.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAsyncTaskNotification & operator=
(
FAsyncTaskNotification&& InOther |
Misc/AsyncTaskNotification.h | ||
FAsyncTaskNotification & operator=
(
const FAsyncTaskNotification& |
Misc/AsyncTaskNotification.h |