Table of Contents

Class WebViewSettings

Namespace
Playnite.WebViews
Assembly
Playnite.SDK.dll

Represents browser view settings.

public class WebViewSettings
Inheritance
WebViewSettings
Inherited Members

Properties

CacheEnabled

Gets or sets value indicating whether cache is enabled.

public bool CacheEnabled { get; set; }

Property Value

bool

JavaScriptEnabled

Gets or sets value indicating whether JavaScript exection is enabled.

public bool JavaScriptEnabled { get; set; }

Property Value

bool

PassResourceContentStreamToCallback

Gets or sets a value indicating whether response content strema should be passed to resource load callback.

public bool PassResourceContentStreamToCallback { get; set; }

Property Value

bool

ResourceLoadedCallback

public Action<WebViewResourceLoadedCallback>? ResourceLoadedCallback { get; set; }

Property Value

Action<WebViewResourceLoadedCallback>

UserAgent

User agent to be used for specific browser instance. Leave empty to use default.

public string? UserAgent { get; set; }

Property Value

string

WindowBackground

Gets or sets window background color.

public Color? WindowBackground { get; set; }

Property Value

Color?

WindowHeight

Gets or sets window height.

public int WindowHeight { get; set; }

Property Value

int

WindowWidth

Gets or sets window width.

public int WindowWidth { get; set; }

Property Value

int