BrowserSettingsKt

public final class BrowserSettingsKt
public final class BrowserSettingsKt

Properties

Link copied to clipboard

Indicates whether images are allowed to be loaded automatically on the web pages.

Link copied to clipboard
private final static Browser browser
private final static Browser browser

Returns the browser instance configured by this BrowserSettings.

Link copied to clipboard

Indicates whether JavaScript code on the loaded web pages can access clipboard.

Link copied to clipboard

Indicates whether JavaScript code is allowed to read/write cookies in the browser cookies storage.

Link copied to clipboard

Indicates whether JavaScript code on the loaded web page can close the browser.

Link copied to clipboard

The default background color of the web pages loaded in the browser.

Link copied to clipboard
private static String defaultEncoding
private static String defaultEncoding

The default text encoding.

Link copied to clipboard

The default font size in pixels of the web content.

Link copied to clipboard
private static DisplayMode displayMode
private static DisplayMode displayMode

The display-mode CSS media feature for the browser.

Link copied to clipboard
private static Boolean imagesEnabled
private static Boolean imagesEnabled

Indicates whether images are displayed on the web pages.

Link copied to clipboard
private static Boolean javascriptEnabled
private static Boolean javascriptEnabled

Indicates whether JavaScript on the web pages is enabled.

Link copied to clipboard

Indicates whether the local storage in the browser is enabled.

Link copied to clipboard

Indicates whether the browser can navigate back/forward with a left/right swipe on a devices with touch screen.

Link copied to clipboard
private static Boolean pluginsEnabled
private static Boolean pluginsEnabled

Indicates whether plugins are enabled on the loaded web pages.

Link copied to clipboard

Indicates whether an insecure content can run in the browser.

Link copied to clipboard
private static Boolean scrollbarsHidden
private static Boolean scrollbarsHidden

Indicates whether scrollbars on the loaded web page are hidden.

Link copied to clipboard

Indicates whether the transparent background on the web pages is enabled.

Link copied to clipboard
private static WebRtcIpHandlingPolicy webRtcIpHandlingPolicy
private static WebRtcIpHandlingPolicy webRtcIpHandlingPolicy

WebRTC IP handling policy for the browser.

Functions

Link copied to clipboard
public final Browser getBrowser()
public final Browser getBrowser()
Link copied to clipboard
Link copied to clipboard
public DisplayMode getDisplayMode()
public DisplayMode getDisplayMode()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public WebRtcIpHandlingPolicy getWebRtcIpHandlingPolicy()
public WebRtcIpHandlingPolicy getWebRtcIpHandlingPolicy()
Link copied to clipboard
public void setAutomaticImagesLoadingAllowed(Boolean automaticImagesLoadingAllowed)
public void setAutomaticImagesLoadingAllowed(Boolean automaticImagesLoadingAllowed)
Link copied to clipboard
public void setCanJavaScriptAccessClipboard(Boolean canJavaScriptAccessClipboard)
public void setCanJavaScriptAccessClipboard(Boolean canJavaScriptAccessClipboard)
Link copied to clipboard
public void setCanJavaScriptAccessCookies(Boolean canJavaScriptAccessCookies)
public void setCanJavaScriptAccessCookies(Boolean canJavaScriptAccessCookies)
Link copied to clipboard
public void setCanJavaScriptCloseWindows(Boolean canJavaScriptCloseWindows)
public void setCanJavaScriptCloseWindows(Boolean canJavaScriptCloseWindows)
Link copied to clipboard
public void setDefaultBackgroundColor(Color defaultBackgroundColor)
public void setDefaultBackgroundColor(Color defaultBackgroundColor)
Link copied to clipboard
public void setDefaultEncoding(String defaultEncoding)
public void setDefaultEncoding(String defaultEncoding)
Link copied to clipboard
public void setDefaultFontSize(FontSizeInPixels defaultFontSize)
public void setDefaultFontSize(FontSizeInPixels defaultFontSize)
Link copied to clipboard
public void setDisplayMode(DisplayMode displayMode)
public void setDisplayMode(DisplayMode displayMode)
Link copied to clipboard
public void setImagesEnabled(Boolean imagesEnabled)
public void setImagesEnabled(Boolean imagesEnabled)
Link copied to clipboard
public void setJavascriptEnabled(Boolean javascriptEnabled)
public void setJavascriptEnabled(Boolean javascriptEnabled)
Link copied to clipboard
public void setLocalStorageEnabled(Boolean localStorageEnabled)
public void setLocalStorageEnabled(Boolean localStorageEnabled)
Link copied to clipboard
public void setOverscrollHistoryNavigationEnabled(Boolean overscrollHistoryNavigationEnabled)
public void setOverscrollHistoryNavigationEnabled(Boolean overscrollHistoryNavigationEnabled)
Link copied to clipboard
public void setPluginsEnabled(Boolean pluginsEnabled)
public void setPluginsEnabled(Boolean pluginsEnabled)
Link copied to clipboard
public void setRunningInsecureContentAllowed(Boolean runningInsecureContentAllowed)
public void setRunningInsecureContentAllowed(Boolean runningInsecureContentAllowed)
Link copied to clipboard
public void setScrollbarsHidden(Boolean scrollbarsHidden)
public void setScrollbarsHidden(Boolean scrollbarsHidden)
Link copied to clipboard
public void setTransparentBackgroundEnabled(Boolean transparentBackgroundEnabled)
public void setTransparentBackgroundEnabled(Boolean transparentBackgroundEnabled)
Link copied to clipboard
public void setWebRtcIpHandlingPolicy(WebRtcIpHandlingPolicy webRtcIpHandlingPolicy)
public void setWebRtcIpHandlingPolicy(WebRtcIpHandlingPolicy webRtcIpHandlingPolicy)