engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FAsyncTaskNotification类 参考

Provides notifications for an on-going asynchronous task. 更多...

#include <AsyncTaskNotification.h>

Public 成员函数

 FAsyncTaskNotification (const FAsyncTaskNotification &)=delete
 Non-copyable.
 
 FAsyncTaskNotification (const FAsyncTaskNotificationConfig &InConfig)
 Create an asynchronous task notification.
 
 FAsyncTaskNotification (FAsyncTaskNotification &&InOther)
 Movable.
 
EAsyncTaskNotificationPromptAction GetPromptAction () const
 Return the notification prompt action. 更多...
 
void SetCanCancel (const TAttribute< bool > &InCanCancel)
 Set whether this task be canceled.
 
void SetComplete (const bool bSuccess=true)
 Set the task as complete.
 
void SetComplete (const FText &InTitleText, const FText &InProgressText, const bool bSuccess=true)
 Update the text and set the task as complete.
 
void SetHyperlink (const FSimpleDelegate &InHyperlink, const FText &InHyperlinkText=FText())
 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, const bool bClearProgressText=true)
 Set the title text of this notification.
 
 ~FAsyncTaskNotification ()
 Destroy the asynchronous task notification.
 

详细描述

Provides notifications for an on-going asynchronous task.

成员函数说明

◆ GetPromptAction()

EAsyncTaskNotificationPromptAction FAsyncTaskNotification::GetPromptAction ( ) const

Return the notification prompt action.

The action resets to None when the notification state changes.

◆ SetNotificationState()

void FAsyncTaskNotification::SetNotificationState ( const FAsyncNotificationStateData &  InState)

Set the notification state.

Provide finer control than SetComplete by setting every field of the state.


该类的文档由以下文件生成: