Table of Contents

Class WebSettings

Namespace
Android.Webkit
Assembly
MASES.Netdroid.dll
public class WebSettings : JVMBridgeBase<WebSettings>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<WebSettings>
WebSettings
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<WebSettings>.IsAssignableFrom(IJavaType)
JVMBridgeBase<WebSettings>.IsAssignableFrom<T>()
JVMBridgeBase<WebSettings>.Execute<T>(params T[])
JVMBridgeBase<WebSettings>.DynBridgeClazz
JVMBridgeBase<WebSettings>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

WebSettings()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("WebSettings class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public WebSettings()

WebSettings(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("WebSettings class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public WebSettings(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

FORCE_DARK_AUTO

[Obsolete]
public static int FORCE_DARK_AUTO { get; }

Property Value

int

FORCE_DARK_OFF

[Obsolete]
public static int FORCE_DARK_OFF { get; }

Property Value

int

FORCE_DARK_ON

[Obsolete]
public static int FORCE_DARK_ON { get; }

Property Value

int

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

LOAD_CACHE_ELSE_NETWORK

public static int LOAD_CACHE_ELSE_NETWORK { get; }

Property Value

int

LOAD_CACHE_ONLY

public static int LOAD_CACHE_ONLY { get; }

Property Value

int

LOAD_DEFAULT

public static int LOAD_DEFAULT { get; }

Property Value

int

LOAD_NORMAL

[Obsolete]
public static int LOAD_NORMAL { get; }

Property Value

int

LOAD_NO_CACHE

public static int LOAD_NO_CACHE { get; }

Property Value

int

MENU_ITEM_NONE

public static int MENU_ITEM_NONE { get; }

Property Value

int

MENU_ITEM_PROCESS_TEXT

public static int MENU_ITEM_PROCESS_TEXT { get; }

Property Value

int

MENU_ITEM_SHARE

public static int MENU_ITEM_SHARE { get; }

Property Value

int
public static int MENU_ITEM_WEB_SEARCH { get; }

Property Value

int

MIXED_CONTENT_ALWAYS_ALLOW

public static int MIXED_CONTENT_ALWAYS_ALLOW { get; }

Property Value

int

MIXED_CONTENT_COMPATIBILITY_MODE

public static int MIXED_CONTENT_COMPATIBILITY_MODE { get; }

Property Value

int

MIXED_CONTENT_NEVER_ALLOW

public static int MIXED_CONTENT_NEVER_ALLOW { get; }

Property Value

int

Methods

EnableSmoothTransition()

[Obsolete]
public bool EnableSmoothTransition()

Returns

bool

bool

GetAllowContentAccess()

public bool GetAllowContentAccess()

Returns

bool

bool

GetAllowFileAccess()

public bool GetAllowFileAccess()

Returns

bool

bool

GetAllowFileAccessFromFileURLs()

public bool GetAllowFileAccessFromFileURLs()

Returns

bool

bool

GetAllowUniversalAccessFromFileURLs()

public bool GetAllowUniversalAccessFromFileURLs()

Returns

bool

bool

GetBlockNetworkImage()

public bool GetBlockNetworkImage()

Returns

bool

bool

GetBlockNetworkLoads()

public bool GetBlockNetworkLoads()

Returns

bool

bool

GetBuiltInZoomControls()

public bool GetBuiltInZoomControls()

Returns

bool

bool

GetCacheMode()

public int GetCacheMode()

Returns

int

int

GetCursiveFontFamily()

public String GetCursiveFontFamily()

Returns

String

String

GetDatabaseEnabled()

[Obsolete]
public bool GetDatabaseEnabled()

Returns

bool

bool

GetDatabasePath()

[Obsolete]
public String GetDatabasePath()

Returns

String

String

GetDefaultFixedFontSize()

public int GetDefaultFixedFontSize()

Returns

int

int

GetDefaultFontSize()

public int GetDefaultFontSize()

Returns

int

int

GetDefaultTextEncodingName()

public String GetDefaultTextEncodingName()

Returns

String

String

GetDefaultUserAgent(Context)

public static String GetDefaultUserAgent(Context arg0)

Parameters

arg0 Context

Context

Returns

String

String

GetDefaultZoom()

[Obsolete]
public WebSettings.ZoomDensity GetDefaultZoom()

Returns

WebSettings.ZoomDensity

WebSettings.ZoomDensity

GetDisabledActionModeMenuItems()

public int GetDisabledActionModeMenuItems()

Returns

int

int

GetDisplayZoomControls()

public bool GetDisplayZoomControls()

Returns

bool

bool

GetDomStorageEnabled()

public bool GetDomStorageEnabled()

Returns

bool

bool

GetFantasyFontFamily()

public String GetFantasyFontFamily()

Returns

String

String

GetFixedFontFamily()

public String GetFixedFontFamily()

Returns

String

String

GetForceDark()

[Obsolete]
public int GetForceDark()

Returns

int

int

GetJavaScriptCanOpenWindowsAutomatically()

public bool GetJavaScriptCanOpenWindowsAutomatically()

Returns

bool

bool

GetJavaScriptEnabled()

public bool GetJavaScriptEnabled()

Returns

bool

bool

GetLayoutAlgorithm()

public WebSettings.LayoutAlgorithm GetLayoutAlgorithm()

Returns

WebSettings.LayoutAlgorithm

WebSettings.LayoutAlgorithm

GetLightTouchEnabled()

[Obsolete]
public bool GetLightTouchEnabled()

Returns

bool

bool

GetLoadWithOverviewMode()

public bool GetLoadWithOverviewMode()

Returns

bool

bool

GetLoadsImagesAutomatically()

public bool GetLoadsImagesAutomatically()

Returns

bool

bool

GetMediaPlaybackRequiresUserGesture()

public bool GetMediaPlaybackRequiresUserGesture()

Returns

bool

bool

GetMinimumFontSize()

public int GetMinimumFontSize()

Returns

int

int

GetMinimumLogicalFontSize()

public int GetMinimumLogicalFontSize()

Returns

int

int

GetMixedContentMode()

public int GetMixedContentMode()

Returns

int

int

GetOffscreenPreRaster()

public bool GetOffscreenPreRaster()

Returns

bool

bool

GetPluginState()

[Obsolete]
public WebSettings.PluginState GetPluginState()

Returns

WebSettings.PluginState

WebSettings.PluginState

GetSafeBrowsingEnabled()

public bool GetSafeBrowsingEnabled()

Returns

bool

bool

GetSansSerifFontFamily()

public String GetSansSerifFontFamily()

Returns

String

String

GetSaveFormData()

[Obsolete]
public bool GetSaveFormData()

Returns

bool

bool

GetSavePassword()

[Obsolete]
public bool GetSavePassword()

Returns

bool

bool

GetSerifFontFamily()

public String GetSerifFontFamily()

Returns

String

String

GetStandardFontFamily()

public String GetStandardFontFamily()

Returns

String

String

GetTextSize()

[Obsolete]
public WebSettings.TextSize GetTextSize()

Returns

WebSettings.TextSize

WebSettings.TextSize

GetTextZoom()

public int GetTextZoom()

Returns

int

int

GetUseWideViewPort()

public bool GetUseWideViewPort()

Returns

bool

bool

GetUserAgentString()

public String GetUserAgentString()

Returns

String

String

IsAlgorithmicDarkeningAllowed()

public bool IsAlgorithmicDarkeningAllowed()

Returns

bool

bool

SetAlgorithmicDarkeningAllowed(bool)

public void SetAlgorithmicDarkeningAllowed(bool arg0)

Parameters

arg0 bool

bool

SetAllowContentAccess(bool)

public void SetAllowContentAccess(bool arg0)

Parameters

arg0 bool

bool

SetAllowFileAccess(bool)

public void SetAllowFileAccess(bool arg0)

Parameters

arg0 bool

bool

SetAllowFileAccessFromFileURLs(bool)

[Obsolete]
public void SetAllowFileAccessFromFileURLs(bool arg0)

Parameters

arg0 bool

bool

SetAllowUniversalAccessFromFileURLs(bool)

[Obsolete]
public void SetAllowUniversalAccessFromFileURLs(bool arg0)

Parameters

arg0 bool

bool

SetBlockNetworkImage(bool)

public void SetBlockNetworkImage(bool arg0)

Parameters

arg0 bool

bool

SetBlockNetworkLoads(bool)

public void SetBlockNetworkLoads(bool arg0)

Parameters

arg0 bool

bool

SetBuiltInZoomControls(bool)

public void SetBuiltInZoomControls(bool arg0)

Parameters

arg0 bool

bool

SetCacheMode(int)

public void SetCacheMode(int arg0)

Parameters

arg0 int

int

SetCursiveFontFamily(String)

public void SetCursiveFontFamily(String arg0)

Parameters

arg0 String

String

SetDatabaseEnabled(bool)

[Obsolete]
public void SetDatabaseEnabled(bool arg0)

Parameters

arg0 bool

bool

SetDatabasePath(String)

[Obsolete]
public void SetDatabasePath(String arg0)

Parameters

arg0 String

String

SetDefaultFixedFontSize(int)

public void SetDefaultFixedFontSize(int arg0)

Parameters

arg0 int

int

SetDefaultFontSize(int)

public void SetDefaultFontSize(int arg0)

Parameters

arg0 int

int

SetDefaultTextEncodingName(String)

public void SetDefaultTextEncodingName(String arg0)

Parameters

arg0 String

String

SetDefaultZoom(ZoomDensity)

[Obsolete]
public void SetDefaultZoom(WebSettings.ZoomDensity arg0)

Parameters

arg0 WebSettings.ZoomDensity

WebSettings.ZoomDensity

SetDisabledActionModeMenuItems(int)

public void SetDisabledActionModeMenuItems(int arg0)

Parameters

arg0 int

int

SetDisplayZoomControls(bool)

public void SetDisplayZoomControls(bool arg0)

Parameters

arg0 bool

bool

SetDomStorageEnabled(bool)

public void SetDomStorageEnabled(bool arg0)

Parameters

arg0 bool

bool

SetEnableSmoothTransition(bool)

[Obsolete]
public void SetEnableSmoothTransition(bool arg0)

Parameters

arg0 bool

bool

SetFantasyFontFamily(String)

public void SetFantasyFontFamily(String arg0)

Parameters

arg0 String

String

SetFixedFontFamily(String)

public void SetFixedFontFamily(String arg0)

Parameters

arg0 String

String

SetForceDark(int)

[Obsolete]
public void SetForceDark(int arg0)

Parameters

arg0 int

int

SetGeolocationDatabasePath(String)

[Obsolete]
public void SetGeolocationDatabasePath(String arg0)

Parameters

arg0 String

String

SetGeolocationEnabled(bool)

public void SetGeolocationEnabled(bool arg0)

Parameters

arg0 bool

bool

SetJavaScriptCanOpenWindowsAutomatically(bool)

public void SetJavaScriptCanOpenWindowsAutomatically(bool arg0)

Parameters

arg0 bool

bool

SetJavaScriptEnabled(bool)

public void SetJavaScriptEnabled(bool arg0)

Parameters

arg0 bool

bool

SetLayoutAlgorithm(LayoutAlgorithm)

public void SetLayoutAlgorithm(WebSettings.LayoutAlgorithm arg0)

Parameters

arg0 WebSettings.LayoutAlgorithm

WebSettings.LayoutAlgorithm

SetLightTouchEnabled(bool)

[Obsolete]
public void SetLightTouchEnabled(bool arg0)

Parameters

arg0 bool

bool

SetLoadWithOverviewMode(bool)

public void SetLoadWithOverviewMode(bool arg0)

Parameters

arg0 bool

bool

SetLoadsImagesAutomatically(bool)

public void SetLoadsImagesAutomatically(bool arg0)

Parameters

arg0 bool

bool

SetMediaPlaybackRequiresUserGesture(bool)

public void SetMediaPlaybackRequiresUserGesture(bool arg0)

Parameters

arg0 bool

bool

SetMinimumFontSize(int)

public void SetMinimumFontSize(int arg0)

Parameters

arg0 int

int

SetMinimumLogicalFontSize(int)

public void SetMinimumLogicalFontSize(int arg0)

Parameters

arg0 int

int

SetMixedContentMode(int)

public void SetMixedContentMode(int arg0)

Parameters

arg0 int

int

SetNeedInitialFocus(bool)

public void SetNeedInitialFocus(bool arg0)

Parameters

arg0 bool

bool

SetOffscreenPreRaster(bool)

public void SetOffscreenPreRaster(bool arg0)

Parameters

arg0 bool

bool

SetPluginState(PluginState)

[Obsolete]
public void SetPluginState(WebSettings.PluginState arg0)

Parameters

arg0 WebSettings.PluginState

WebSettings.PluginState

SetRenderPriority(RenderPriority)

[Obsolete]
public void SetRenderPriority(WebSettings.RenderPriority arg0)

Parameters

arg0 WebSettings.RenderPriority

WebSettings.RenderPriority

SetSafeBrowsingEnabled(bool)

public void SetSafeBrowsingEnabled(bool arg0)

Parameters

arg0 bool

bool

SetSansSerifFontFamily(String)

public void SetSansSerifFontFamily(String arg0)

Parameters

arg0 String

String

SetSaveFormData(bool)

[Obsolete]
public void SetSaveFormData(bool arg0)

Parameters

arg0 bool

bool

SetSavePassword(bool)

[Obsolete]
public void SetSavePassword(bool arg0)

Parameters

arg0 bool

bool

SetSerifFontFamily(String)

public void SetSerifFontFamily(String arg0)

Parameters

arg0 String

String

SetStandardFontFamily(String)

public void SetStandardFontFamily(String arg0)

Parameters

arg0 String

String

SetSupportMultipleWindows(bool)

public void SetSupportMultipleWindows(bool arg0)

Parameters

arg0 bool

bool

SetSupportZoom(bool)

public void SetSupportZoom(bool arg0)

Parameters

arg0 bool

bool

SetTextSize(TextSize)

[Obsolete]
public void SetTextSize(WebSettings.TextSize arg0)

Parameters

arg0 WebSettings.TextSize

WebSettings.TextSize

SetTextZoom(int)

public void SetTextZoom(int arg0)

Parameters

arg0 int

int

SetUseWideViewPort(bool)

public void SetUseWideViewPort(bool arg0)

Parameters

arg0 bool

bool

SetUserAgentString(String)

public void SetUserAgentString(String arg0)

Parameters

arg0 String

String

SupportMultipleWindows()

public bool SupportMultipleWindows()

Returns

bool

bool

SupportZoom()

public bool SupportZoom()

Returns

bool

bool