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