Ark Server API (ASA) - Wiki
|
#include <AsyncTaskNotification.h>
Private Attributes | |
TSharedPtr< IAsyncTaskNotificationImpl > | NotificationImpl |
Provides notifications for an on-going asynchronous task.
Definition at line 113 of file AsyncTaskNotification.h.
FAsyncTaskNotification::FAsyncTaskNotification | ( | const FAsyncTaskNotificationConfig & | InConfig | ) |
Create an asynchronous task notification.
FAsyncTaskNotification::~FAsyncTaskNotification | ( | ) |
Destroy the asynchronous task notification.
|
delete |
Non-copyable.
FAsyncTaskNotification::FAsyncTaskNotification | ( | FAsyncTaskNotification && | InOther | ) |
Movable.
EAsyncTaskNotificationPromptAction FAsyncTaskNotification::GetPromptAction | ( | ) | const |
Return the notification prompt action. The action resets to None
when the notification state changes.
|
delete |
FAsyncTaskNotification & FAsyncTaskNotification::operator= | ( | FAsyncTaskNotification && | InOther | ) |
void FAsyncTaskNotification::SetCanCancel | ( | const TAttribute< bool > & | InCanCancel | ) |
Set whether this task be canceled.
void FAsyncTaskNotification::SetComplete | ( | const FText & | InTitleText, |
const FText & | InProgressText, | ||
const bool | bSuccess = true ) |
Update the text and set the task as complete.
void FAsyncTaskNotification::SetHyperlink | ( | const FSimpleDelegate & | InHyperlink, |
const FText & | InHyperlinkText = FText() ) |
Set the Hyperlink for this notification.
void FAsyncTaskNotification::SetKeepOpenOnFailure | ( | const TAttribute< bool > & | InKeepOpenOnFailure | ) |
Set whether to keep this notification open on failure.
void FAsyncTaskNotification::SetKeepOpenOnSuccess | ( | const TAttribute< bool > & | InKeepOpenOnSuccess | ) |
Set whether to keep this notification open on success.
void FAsyncTaskNotification::SetNotificationState | ( | const FAsyncNotificationStateData & | InState | ) |
Set the notification state. Provide finer control than SetComplete by setting every field of the state.
Set the progress text of this notification.
Set the prompt text of this notification, if needed.
void FAsyncTaskNotification::SetTitleText | ( | const FText & | InTitleText, |
const bool | bClearProgressText = true ) |
Set the title text of this notification.
|
private |
Pointer to the real notification implementation
Definition at line 196 of file AsyncTaskNotification.h.