UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IWebBrowserDialog Class Referenceabstract

#include <IWebBrowserDialog.h>

Public Member Functions

virtual ~IWebBrowserDialog ()
 
virtual EWebBrowserDialogType GetType ()=0
 
virtual void Continue (bool Success=true, const FText &UserResponse=FText::GetEmpty())=0
 
virtual const FTextGetMessageText ()=0
 
virtual const FTextGetDefaultPrompt ()=0
 
virtual bool IsReload ()=0
 

Detailed Description

Browser dialog parameters passed to OnBrowserDialog event handlers.

Constructor & Destructor Documentation

◆ ~IWebBrowserDialog()

virtual IWebBrowserDialog::~IWebBrowserDialog ( )
inlinevirtual

Member Function Documentation

◆ Continue()

virtual void IWebBrowserDialog::Continue ( bool  Success = true,
const FText UserResponse = FText::GetEmpty() 
)
pure virtual

Tell the browser to continue with the result of the dialog. If this method is used, the original event handler must return EWebBrowserDialogEventResponse::Handled.

Parameters
SuccessDid the user accept the dialog or not?
UserResponseOnly for Prompt dialog, the text entered by the user.

◆ GetDefaultPrompt()

virtual const FText & IWebBrowserDialog::GetDefaultPrompt ( )
pure virtual

Only valid for Prompt dialogs.

Returns
the default value to show in the text entry box.

◆ GetMessageText()

virtual const FText & IWebBrowserDialog::GetMessageText ( )
pure virtual

Get the dialog message.

Returns
the message to show in the dialog.

◆ GetType()

virtual EWebBrowserDialogType IWebBrowserDialog::GetType ( )
pure virtual

What kind of dialog should be shown.

Returns
the dialog type

◆ IsReload()

virtual bool IWebBrowserDialog::IsReload ( )
pure virtual

Only valid for Unload dialogs.

Returns
true if the dialog is confirming a reload of the current page.

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