Class WebSettings
public class WebSettings : JVMBridgeBase<WebSettings>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
WebSettings
- Implements
- Extension Methods
Constructors
WebSettings()
public WebSettings()
WebSettings(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public WebSettings(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
FORCE_DARK_AUTO
[Obsolete("Deprecated in JVM")]
public static int FORCE_DARK_AUTO { get; set; }
Property Value
FORCE_DARK_OFF
[Obsolete("Deprecated in JVM")]
public static int FORCE_DARK_OFF { get; set; }
Property Value
FORCE_DARK_ON
[Obsolete("Deprecated in JVM")]
public static int FORCE_DARK_ON { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
LOAD_CACHE_ELSE_NETWORK
public static int LOAD_CACHE_ELSE_NETWORK { get; set; }
Property Value
LOAD_CACHE_ONLY
public static int LOAD_CACHE_ONLY { get; set; }
Property Value
LOAD_DEFAULT
public static int LOAD_DEFAULT { get; set; }
Property Value
LOAD_NORMAL
[Obsolete("Deprecated in JVM")]
public static int LOAD_NORMAL { get; set; }
Property Value
LOAD_NO_CACHE
public static int LOAD_NO_CACHE { get; set; }
Property Value
MENU_ITEM_NONE
public static int MENU_ITEM_NONE { get; set; }
Property Value
MENU_ITEM_PROCESS_TEXT
public static int MENU_ITEM_PROCESS_TEXT { get; set; }
Property Value
MENU_ITEM_SHARE
public static int MENU_ITEM_SHARE { get; set; }
Property Value
MENU_ITEM_WEB_SEARCH
public static int MENU_ITEM_WEB_SEARCH { get; set; }
Property Value
MIXED_CONTENT_ALWAYS_ALLOW
public static int MIXED_CONTENT_ALWAYS_ALLOW { get; set; }
Property Value
MIXED_CONTENT_COMPATIBILITY_MODE
public static int MIXED_CONTENT_COMPATIBILITY_MODE { get; set; }
Property Value
MIXED_CONTENT_NEVER_ALLOW
public static int MIXED_CONTENT_NEVER_ALLOW { get; set; }
Property Value
Methods
CreatePoolableInstance()
HPA initializer for WebSettings()
public static WebSettings CreatePoolableInstance()
Returns
EnableSmoothTransition()
[Obsolete("Deprecated in JVM")]
public bool EnableSmoothTransition()
Returns
GetAllowContentAccess()
public bool GetAllowContentAccess()
Returns
GetAllowFileAccess()
public bool GetAllowFileAccess()
Returns
GetAllowFileAccessFromFileURLs()
public bool GetAllowFileAccessFromFileURLs()
Returns
GetAllowUniversalAccessFromFileURLs()
public bool GetAllowUniversalAccessFromFileURLs()
Returns
GetBlockNetworkImage()
public bool GetBlockNetworkImage()
Returns
GetBlockNetworkLoads()
public bool GetBlockNetworkLoads()
Returns
GetBuiltInZoomControls()
public bool GetBuiltInZoomControls()
Returns
GetCacheMode()
public int GetCacheMode()
Returns
GetCursiveFontFamily()
public String GetCursiveFontFamily()
Returns
GetDatabaseEnabled()
[Obsolete("Deprecated in JVM")]
public bool GetDatabaseEnabled()
Returns
GetDatabasePath()
[Obsolete("Deprecated in JVM")]
public String GetDatabasePath()
Returns
GetDefaultFixedFontSize()
public int GetDefaultFixedFontSize()
Returns
GetDefaultFontSize()
public int GetDefaultFontSize()
Returns
GetDefaultTextEncodingName()
https://developer.android.com/reference/android/webkit/WebSettings.html#getDefaultTextEncodingName()
public String GetDefaultTextEncodingName()
Returns
GetDefaultUserAgent(Context)
public static String GetDefaultUserAgent(Context arg0)
Parameters
Returns
GetDefaultZoom()
[Obsolete("Deprecated in JVM")]
public WebSettings.ZoomDensity GetDefaultZoom()
Returns
GetDisabledActionModeMenuItems()
public int GetDisabledActionModeMenuItems()
Returns
GetDisplayZoomControls()
public bool GetDisplayZoomControls()
Returns
GetDomStorageEnabled()
public bool GetDomStorageEnabled()
Returns
GetFantasyFontFamily()
public String GetFantasyFontFamily()
Returns
GetFixedFontFamily()
public String GetFixedFontFamily()
Returns
GetForceDark()
[Obsolete("Deprecated in JVM")]
public int GetForceDark()
Returns
GetJavaScriptCanOpenWindowsAutomatically()
public bool GetJavaScriptCanOpenWindowsAutomatically()
Returns
GetJavaScriptEnabled()
public bool GetJavaScriptEnabled()
Returns
GetLayoutAlgorithm()
public WebSettings.LayoutAlgorithm GetLayoutAlgorithm()
Returns
GetLightTouchEnabled()
[Obsolete("Deprecated in JVM")]
public bool GetLightTouchEnabled()
Returns
GetLoadWithOverviewMode()
public bool GetLoadWithOverviewMode()
Returns
GetLoadsImagesAutomatically()
public bool GetLoadsImagesAutomatically()
Returns
GetMediaPlaybackRequiresUserGesture()
public bool GetMediaPlaybackRequiresUserGesture()
Returns
GetMinimumFontSize()
public int GetMinimumFontSize()
Returns
GetMinimumLogicalFontSize()
public int GetMinimumLogicalFontSize()
Returns
GetMixedContentMode()
public int GetMixedContentMode()
Returns
GetOffscreenPreRaster()
public bool GetOffscreenPreRaster()
Returns
GetPluginState()
[Obsolete("Deprecated in JVM")]
public WebSettings.PluginState GetPluginState()
Returns
GetSafeBrowsingEnabled()
public bool GetSafeBrowsingEnabled()
Returns
GetSansSerifFontFamily()
public String GetSansSerifFontFamily()
Returns
GetSaveFormData()
[Obsolete("Deprecated in JVM")]
public bool GetSaveFormData()
Returns
GetSavePassword()
[Obsolete("Deprecated in JVM")]
public bool GetSavePassword()
Returns
GetSerifFontFamily()
public String GetSerifFontFamily()
Returns
GetStandardFontFamily()
public String GetStandardFontFamily()
Returns
GetTextSize()
[Obsolete("Deprecated in JVM")]
public WebSettings.TextSize GetTextSize()
Returns
GetTextZoom()
public int GetTextZoom()
Returns
GetUseWideViewPort()
public bool GetUseWideViewPort()
Returns
GetUserAgentString()
public String GetUserAgentString()
Returns
IsAlgorithmicDarkeningAllowed()
public bool IsAlgorithmicDarkeningAllowed()
Returns
SetAlgorithmicDarkeningAllowed(bool)
public void SetAlgorithmicDarkeningAllowed(bool arg0)
Parameters
SetAllowContentAccess(bool)
public void SetAllowContentAccess(bool arg0)
Parameters
SetAllowFileAccess(bool)
public void SetAllowFileAccess(bool arg0)
Parameters
SetAllowFileAccessFromFileURLs(bool)
[Obsolete("Deprecated in JVM")]
public void SetAllowFileAccessFromFileURLs(bool arg0)
Parameters
SetAllowUniversalAccessFromFileURLs(bool)
[Obsolete("Deprecated in JVM")]
public void SetAllowUniversalAccessFromFileURLs(bool arg0)
Parameters
SetBlockNetworkImage(bool)
public void SetBlockNetworkImage(bool arg0)
Parameters
SetBlockNetworkLoads(bool)
public void SetBlockNetworkLoads(bool arg0)
Parameters
SetBuiltInZoomControls(bool)
public void SetBuiltInZoomControls(bool arg0)
Parameters
SetCacheMode(int)
public void SetCacheMode(int arg0)
Parameters
SetCursiveFontFamily(String)
public void SetCursiveFontFamily(String arg0)
Parameters
SetDatabaseEnabled(bool)
[Obsolete("Deprecated in JVM")]
public void SetDatabaseEnabled(bool arg0)
Parameters
SetDatabasePath(String)
[Obsolete("Deprecated in JVM")]
public void SetDatabasePath(String arg0)
Parameters
SetDefaultFixedFontSize(int)
https://developer.android.com/reference/android/webkit/WebSettings.html#setDefaultFixedFontSize(int)
public void SetDefaultFixedFontSize(int arg0)
Parameters
SetDefaultFontSize(int)
public void SetDefaultFontSize(int arg0)
Parameters
SetDefaultTextEncodingName(String)
public void SetDefaultTextEncodingName(String arg0)
Parameters
SetDefaultZoom(ZoomDensity)
[Obsolete("Deprecated in JVM")]
public void SetDefaultZoom(WebSettings.ZoomDensity arg0)
Parameters
SetDisabledActionModeMenuItems(int)
public void SetDisabledActionModeMenuItems(int arg0)
Parameters
SetDisplayZoomControls(bool)
public void SetDisplayZoomControls(bool arg0)
Parameters
SetDomStorageEnabled(bool)
public void SetDomStorageEnabled(bool arg0)
Parameters
SetEnableSmoothTransition(bool)
[Obsolete("Deprecated in JVM")]
public void SetEnableSmoothTransition(bool arg0)
Parameters
SetFantasyFontFamily(String)
public void SetFantasyFontFamily(String arg0)
Parameters
SetFixedFontFamily(String)
public void SetFixedFontFamily(String arg0)
Parameters
SetForceDark(int)
[Obsolete("Deprecated in JVM")]
public void SetForceDark(int arg0)
Parameters
SetGeolocationDatabasePath(String)
[Obsolete("Deprecated in JVM")]
public void SetGeolocationDatabasePath(String arg0)
Parameters
SetGeolocationEnabled(bool)
public void SetGeolocationEnabled(bool arg0)
Parameters
SetJavaScriptCanOpenWindowsAutomatically(bool)
public void SetJavaScriptCanOpenWindowsAutomatically(bool arg0)
Parameters
SetJavaScriptEnabled(bool)
public void SetJavaScriptEnabled(bool arg0)
Parameters
SetLayoutAlgorithm(LayoutAlgorithm)
public void SetLayoutAlgorithm(WebSettings.LayoutAlgorithm arg0)
Parameters
SetLightTouchEnabled(bool)
[Obsolete("Deprecated in JVM")]
public void SetLightTouchEnabled(bool arg0)
Parameters
SetLoadWithOverviewMode(bool)
public void SetLoadWithOverviewMode(bool arg0)
Parameters
SetLoadsImagesAutomatically(bool)
public void SetLoadsImagesAutomatically(bool arg0)
Parameters
SetMediaPlaybackRequiresUserGesture(bool)
public void SetMediaPlaybackRequiresUserGesture(bool arg0)
Parameters
SetMinimumFontSize(int)
public void SetMinimumFontSize(int arg0)
Parameters
SetMinimumLogicalFontSize(int)
public void SetMinimumLogicalFontSize(int arg0)
Parameters
SetMixedContentMode(int)
public void SetMixedContentMode(int arg0)
Parameters
SetNeedInitialFocus(bool)
https://developer.android.com/reference/android/webkit/WebSettings.html#setNeedInitialFocus(boolean)
public void SetNeedInitialFocus(bool arg0)
Parameters
SetOffscreenPreRaster(bool)
public void SetOffscreenPreRaster(bool arg0)
Parameters
SetPluginState(PluginState)
[Obsolete("Deprecated in JVM")]
public void SetPluginState(WebSettings.PluginState arg0)
Parameters
SetRenderPriority(RenderPriority)
[Obsolete("Deprecated in JVM")]
public void SetRenderPriority(WebSettings.RenderPriority arg0)
Parameters
SetSafeBrowsingEnabled(bool)
public void SetSafeBrowsingEnabled(bool arg0)
Parameters
SetSansSerifFontFamily(String)
public void SetSansSerifFontFamily(String arg0)
Parameters
SetSaveFormData(bool)
[Obsolete("Deprecated in JVM")]
public void SetSaveFormData(bool arg0)
Parameters
SetSavePassword(bool)
[Obsolete("Deprecated in JVM")]
public void SetSavePassword(bool arg0)
Parameters
SetSerifFontFamily(String)
public void SetSerifFontFamily(String arg0)
Parameters
SetStandardFontFamily(String)
public void SetStandardFontFamily(String arg0)
Parameters
SetSupportMultipleWindows(bool)
public void SetSupportMultipleWindows(bool arg0)
Parameters
SetSupportZoom(bool)
public void SetSupportZoom(bool arg0)
Parameters
SetTextSize(TextSize)
[Obsolete("Deprecated in JVM")]
public void SetTextSize(WebSettings.TextSize arg0)
Parameters
SetTextZoom(int)
public void SetTextZoom(int arg0)
Parameters
SetUseWideViewPort(bool)
public void SetUseWideViewPort(bool arg0)
Parameters
SetUserAgentString(String)
public void SetUserAgentString(String arg0)
Parameters
SupportMultipleWindows()
public bool SupportMultipleWindows()
Returns
SupportZoom()
public bool SupportZoom()