UCefView
Loading...
Searching...
No Matches
UCefSettings

Represents the settings for CEF context initialization. More...

#include <CefSettings.h>

Public Attributes

FName BridgeObjectName = TEXT("UCefViewBridge")
 The bridge object represents a Javascript object which will be inserted into all browser and frames. This object is designated for communicating between Javascript in web content and native context(C/C++) code. This object is set as a property of the window object. That means it can be obtained by calling window.bridgeObject in the Javascript code.
 
FName BuiltinSchemeName = TEXT("UCefView")
 The built-in custom scheme name.
 
FString UserAgent
 The user agent string.
 
TArray< FArchiveFileResourceMappingArchiveFileResourceMapping
 Archive file mappings (Only zip format is supported). The file path value must be relative to Game Dir.
 
TArray< FLocalFolderResourceMappingLocalFolderResroucesMapping
 Local folder resource mappings. The folder path value must be relative to Game Content Dir.
 
FColor BackgroundColor = FColor::White
 Comma delimited ordered list of language codes without any whitespace that will be used in the "Accept-Language" HTTP header.
 
FString Locale
 The locale to use. If empty, the default locale of "en-US" will be used. This value is ignored on Linux where locale is determined using environment variable parsing with the precedence order: LANGUAGE, LC_ALL, LC_MESSAGES, and LANG. Also configurable using the "lang" command-line switch.
 
TArray< FString > AcceptLanguageList
 Comma delimited ordered list of language codes without any whitespace that will be used in the "Accept-Language" HTTP header.
 
bool PersistSessionCookies = true
 Whether to persist session cookies.
 
bool PersistUserPreferences = true
 Whether to persist user preferences.
 
ECefLogLevel LogLevel = ECefLogLevel::Default
 The log level.
 
int32 RemoteDebuggingport = 0
 CEF supports remote debugging with Dev Tools in Chrome/Edge. If this value is set, then you can debug the web application by with Chrome/Edge.
 
bool DisableCommandLineArgsPassthrough = false
 Whether to disable the application cmd line passthrough to CEF.
 
TMap< FString, FString > CommandLineArgs
 Commandline arguments to be passed to CEF.
 

Detailed Description

Represents the settings for CEF context initialization.

Member Data Documentation

◆ AcceptLanguageList

TArray<FString> UCefSettings::AcceptLanguageList

Comma delimited ordered list of language codes without any whitespace that will be used in the "Accept-Language" HTTP header.

◆ ArchiveFileResourceMapping

TArray<FArchiveFileResourceMapping> UCefSettings::ArchiveFileResourceMapping

Archive file mappings (Only zip format is supported). The file path value must be relative to Game Dir.

◆ BackgroundColor

FColor UCefSettings::BackgroundColor = FColor::White

Comma delimited ordered list of language codes without any whitespace that will be used in the "Accept-Language" HTTP header.

◆ BridgeObjectName

FName UCefSettings::BridgeObjectName = TEXT("UCefViewBridge")

The bridge object represents a Javascript object which will be inserted into all browser and frames. This object is designated for communicating between Javascript in web content and native context(C/C++) code. This object is set as a property of the window object. That means it can be obtained by calling window.bridgeObject in the Javascript code.

◆ BuiltinSchemeName

FName UCefSettings::BuiltinSchemeName = TEXT("UCefView")

The built-in custom scheme name.

◆ CommandLineArgs

TMap<FString, FString> UCefSettings::CommandLineArgs
Initial value:
=
{
{ TEXT("remote-allow-origins"), TEXT("*") },
}

Commandline arguments to be passed to CEF.

◆ DisableCommandLineArgsPassthrough

bool UCefSettings::DisableCommandLineArgsPassthrough = false

Whether to disable the application cmd line passthrough to CEF.

◆ Locale

FString UCefSettings::Locale

The locale to use. If empty, the default locale of "en-US" will be used. This value is ignored on Linux where locale is determined using environment variable parsing with the precedence order: LANGUAGE, LC_ALL, LC_MESSAGES, and LANG. Also configurable using the "lang" command-line switch.

◆ LocalFolderResroucesMapping

TArray<FLocalFolderResourceMapping> UCefSettings::LocalFolderResroucesMapping

Local folder resource mappings. The folder path value must be relative to Game Content Dir.

◆ LogLevel

ECefLogLevel UCefSettings::LogLevel = ECefLogLevel::Default

The log level.

◆ PersistSessionCookies

bool UCefSettings::PersistSessionCookies = true

Whether to persist session cookies.

◆ PersistUserPreferences

bool UCefSettings::PersistUserPreferences = true

Whether to persist user preferences.

◆ RemoteDebuggingport

int32 UCefSettings::RemoteDebuggingport = 0

CEF supports remote debugging with Dev Tools in Chrome/Edge. If this value is set, then you can debug the web application by with Chrome/Edge.

◆ UserAgent

FString UCefSettings::UserAgent

The user agent string.