UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSlateAsyncTaskNotificationImpl Class Reference

#include <SlateAsyncTaskNotificationImpl.h>

+ Inheritance diagram for FSlateAsyncTaskNotificationImpl:

Public Member Functions

virtual void Initialize (const FAsyncTaskNotificationConfig &InConfig) override
 
virtual void SetCanCancel (const TAttribute< bool > &InCanCancel) override
 
virtual void SetKeepOpenOnSuccess (const TAttribute< bool > &InKeepOpenOnSuccess) override
 
virtual void SetKeepOpenOnFailure (const TAttribute< bool > &InKeepOpenOnFailure) override
 
virtual EAsyncTaskNotificationPromptAction GetPromptAction () const override
 
 FSlateAsyncTaskNotificationImpl ()
 
virtual ~FSlateAsyncTaskNotificationImpl () override
 
- Public Member Functions inherited from TSharedFromThis< FSlateAsyncTaskNotificationImpl, ESPMode::ThreadSafe >
TSharedRef< FSlateAsyncTaskNotificationImpl, Mode > AsShared ()
 
TSharedRef< FSlateAsyncTaskNotificationImpl const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< FSlateAsyncTaskNotificationImpl, Mode > AsWeak ()
 
TWeakPtr< FSlateAsyncTaskNotificationImpl const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 
- Public Member Functions inherited from FCoreAsyncTaskNotificationImpl
CORE_API FCoreAsyncTaskNotificationImpl ()
 
virtual CORE_API ~FCoreAsyncTaskNotificationImpl ()
 
virtual CORE_API void SetTitleText (const FText &InTitleText, const bool bClearProgressText) override
 
virtual CORE_API void SetProgressText (const FText &InProgressText) override
 
virtual CORE_API void SetPromptText (const FText &InPromptText) override
 
virtual CORE_API void SetHyperlink (const FSimpleDelegate &InHyperlink, const FText &InHyperlinkText) override
 
virtual CORE_API void SetComplete (const bool bSuccess) override
 
virtual CORE_API void SetComplete (const FText &InTitleText, const FText &InProgressText, const bool bSuccess) override
 
virtual CORE_API void SetNotificationState (const FAsyncNotificationStateData &InState) override
 
- Public Member Functions inherited from IAsyncTaskNotificationImpl
virtual ~IAsyncTaskNotificationImpl ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from TSharedFromThis< FSlateAsyncTaskNotificationImpl, ESPMode::ThreadSafe >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TSharedFromThis< FSlateAsyncTaskNotificationImpl, ESPMode::ThreadSafe >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 
- Protected Attributes inherited from FCoreAsyncTaskNotificationImpl
EAsyncTaskNotificationState State = EAsyncTaskNotificationState::Pending
 
FText TitleText
 
FText ProgressText
 
FText PromptText
 
FSimpleDelegate Hyperlink
 
FText HyperlinkText
 

Detailed Description

Slate asynchronous task notification that uses a notification item.

Constructor & Destructor Documentation

◆ FSlateAsyncTaskNotificationImpl()

FSlateAsyncTaskNotificationImpl::FSlateAsyncTaskNotificationImpl ( )

◆ ~FSlateAsyncTaskNotificationImpl()

FSlateAsyncTaskNotificationImpl::~FSlateAsyncTaskNotificationImpl ( )
overridevirtual

Member Function Documentation

◆ GetPromptAction()

EAsyncTaskNotificationPromptAction FSlateAsyncTaskNotificationImpl::GetPromptAction ( ) const
overridevirtual

Return the notification prompt action. The action resets to None when the notification state changes.

Reimplemented from FCoreAsyncTaskNotificationImpl.

◆ Initialize()

void FSlateAsyncTaskNotificationImpl::Initialize ( const FAsyncTaskNotificationConfig InConfig)
overridevirtual

Initialize this notification based on the given config.

Reimplemented from FCoreAsyncTaskNotificationImpl.

◆ SetCanCancel()

void FSlateAsyncTaskNotificationImpl::SetCanCancel ( const TAttribute< bool > &  InCanCancel)
overridevirtual

Set whether this task be canceled.

Reimplemented from FCoreAsyncTaskNotificationImpl.

◆ SetKeepOpenOnFailure()

void FSlateAsyncTaskNotificationImpl::SetKeepOpenOnFailure ( const TAttribute< bool > &  InKeepOpenOnFailure)
overridevirtual

Set whether to keep this notification open on failure.

Reimplemented from FCoreAsyncTaskNotificationImpl.

◆ SetKeepOpenOnSuccess()

void FSlateAsyncTaskNotificationImpl::SetKeepOpenOnSuccess ( const TAttribute< bool > &  InKeepOpenOnSuccess)
overridevirtual

Set whether to keep this notification open on success.

Reimplemented from FCoreAsyncTaskNotificationImpl.


The documentation for this class was generated from the following files: