IAsyncTaskNotificationImpl

Implementation interface of notifications for an on-going asynchronous task.

Windows
MacOS
Linux

Inheritance Hierarchy

IAsyncTaskNotificationImpl

FCoreAsyncTaskNotificationImpl

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/CoreAsyncTaskNotificationImpl.h

Include

#include "Misc/CoreAsyncTaskNotificationImpl.h"

Syntax

class IAsyncTaskNotificationImpl

Remarks

Implementation interface of notifications for an on-going asynchronous task.

Destructors

Functions

Name Description

Public function Const

EAsyncTaskNo...

 

GetPromptAction()

Return the notification prompt action.

Public function

void

 

Initialize

(
    const FAsyncTaskNotificationConfig ...
)

Initialize this notification based on the given config.

Public function

void

 

SetCanCancel

(
    const TAttribute< bool >& InCanCan...
)

Set whether this task be canceled.

Public function

void

 

SetComplete

(
    const bool bSuccess
)

Set the task as complete.

Public function

void

 

SetComplete

(
    const FText& InTitleText,
    const FText& InProgressText,
    const bool bSuccess
)

Update the text and set the task as complete.

Public function

void

 

SetHyperlink

(
    const FSimpleDelegate& InHyperlink,
    const FText& InHyperlinkText
)

Set the hyperlink text of this notification.

Public function

void

 

SetKeepOpenOnFailure

(
    const TAttribute< bool >& InKeepOp...
)

Set whether to keep this notification open on failure.

Public function

void

 

SetKeepOpenOnSuccess

(
    const TAttribute< bool >& InKeepOp...
)

Set whether to keep this notification open on success.

Public function

void

 

SetNotificationState

(
    const FAsyncNotificationStateData&...
)

Set the task notification state. provides finer control than SetComplete

Public function

void

 

SetProgressText

(
    const FText& InProgressText
)

Set the progress text of this notification.

Public function

void

 

SetPromptText

(
    const FText& InPromptText
)

Set the prompt text of this notification.

Public function

void

 

SetTitleText

(
    const FText& InTitleText,
    const bool bClearProgressText
)

Set the title text of this notification.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss