Table of Contents

Class WebChromeClient

Namespace
Android.Webkit
Assembly
MASES.Netdroid.dll
public class WebChromeClient : JVMBridgeBase<WebChromeClient>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
WebChromeClient
Implements
Extension Methods

Constructors

WebChromeClient()

public WebChromeClient()

WebChromeClient(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 WebChromeClient(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

CreatePoolableInstance()

HPA initializer for WebChromeClient()

public static WebChromeClient CreatePoolableInstance()

Returns

WebChromeClient

GetDefaultVideoPoster()

public Bitmap GetDefaultVideoPoster()

Returns

Bitmap

Bitmap

GetVideoLoadingProgressView()

public View GetVideoLoadingProgressView()

Returns

View

View

GetVisitedHistory(ValueCallback<String[]>)

public void GetVisitedHistory(ValueCallback<String[]> arg0)

Parameters

arg0 ValueCallback<String[]>

ValueCallback

OnCloseWindow(WebView)

public void OnCloseWindow(WebView arg0)

Parameters

arg0 WebView

WebView

OnConsoleMessage(ConsoleMessage)

public bool OnConsoleMessage(ConsoleMessage arg0)

Parameters

arg0 ConsoleMessage

ConsoleMessage

Returns

bool

bool

OnConsoleMessage(String, int, String)

[Obsolete("Deprecated in JVM")]
public void OnConsoleMessage(String arg0, int arg1, String arg2)

Parameters

arg0 String

String

arg1 int

int

arg2 String

String

OnCreateWindow(WebView, bool, bool, Message)

public bool OnCreateWindow(WebView arg0, bool arg1, bool arg2, Message arg3)

Parameters

arg0 WebView

WebView

arg1 bool

bool

arg2 bool

bool

arg3 Message

Message

Returns

bool

bool

OnExceededDatabaseQuota(String, String, long, long, long, QuotaUpdater)

[Obsolete("Deprecated in JVM")]
public void OnExceededDatabaseQuota(String arg0, String arg1, long arg2, long arg3, long arg4, WebStorage.QuotaUpdater arg5)

Parameters

arg0 String

String

arg1 String

String

arg2 long

long

arg3 long

long

arg4 long

long

arg5 WebStorage.QuotaUpdater

WebStorage.QuotaUpdater

OnGeolocationPermissionsHidePrompt()

public void OnGeolocationPermissionsHidePrompt()

OnGeolocationPermissionsShowPrompt(String, Callback)

public void OnGeolocationPermissionsShowPrompt(String arg0, GeolocationPermissions.Callback arg1)

Parameters

arg0 String

String

arg1 GeolocationPermissions.Callback

GeolocationPermissions.Callback

OnHideCustomView()

public void OnHideCustomView()

OnJsAlert(WebView, String, String, JsResult)

public bool OnJsAlert(WebView arg0, String arg1, String arg2, JsResult arg3)

Parameters

arg0 WebView

WebView

arg1 String

String

arg2 String

String

arg3 JsResult

JsResult

Returns

bool

bool

OnJsBeforeUnload(WebView, String, String, JsResult)

public bool OnJsBeforeUnload(WebView arg0, String arg1, String arg2, JsResult arg3)

Parameters

arg0 WebView

WebView

arg1 String

String

arg2 String

String

arg3 JsResult

JsResult

Returns

bool

bool

OnJsConfirm(WebView, String, String, JsResult)

public bool OnJsConfirm(WebView arg0, String arg1, String arg2, JsResult arg3)

Parameters

arg0 WebView

WebView

arg1 String

String

arg2 String

String

arg3 JsResult

JsResult

Returns

bool

bool

OnJsPrompt(WebView, String, String, String, JsPromptResult)

public bool OnJsPrompt(WebView arg0, String arg1, String arg2, String arg3, JsPromptResult arg4)

Parameters

arg0 WebView

WebView

arg1 String

String

arg2 String

String

arg3 String

String

arg4 JsPromptResult

JsPromptResult

Returns

bool

bool

OnJsTimeout()

[Obsolete("Deprecated in JVM")]
public bool OnJsTimeout()

Returns

bool

bool

OnPermissionRequest(PermissionRequest)

public void OnPermissionRequest(PermissionRequest arg0)

Parameters

arg0 PermissionRequest

PermissionRequest

OnPermissionRequestCanceled(PermissionRequest)

public void OnPermissionRequestCanceled(PermissionRequest arg0)

Parameters

arg0 PermissionRequest

PermissionRequest

OnProgressChanged(WebView, int)

public void OnProgressChanged(WebView arg0, int arg1)

Parameters

arg0 WebView

WebView

arg1 int

int

OnReceivedIcon(WebView, Bitmap)

public void OnReceivedIcon(WebView arg0, Bitmap arg1)

Parameters

arg0 WebView

WebView

arg1 Bitmap

Bitmap

OnReceivedTitle(WebView, String)

public void OnReceivedTitle(WebView arg0, String arg1)

Parameters

arg0 WebView

WebView

arg1 String

String

OnReceivedTouchIconUrl(WebView, String, bool)

public void OnReceivedTouchIconUrl(WebView arg0, String arg1, bool arg2)

Parameters

arg0 WebView

WebView

arg1 String

String

arg2 bool

bool

OnRequestFocus(WebView)

public void OnRequestFocus(WebView arg0)

Parameters

arg0 WebView

WebView

OnShowCustomView(View, CustomViewCallback)

public void OnShowCustomView(View arg0, WebChromeClient.CustomViewCallback arg1)

Parameters

arg0 View

View

arg1 WebChromeClient.CustomViewCallback

WebChromeClient.CustomViewCallback

OnShowCustomView(View, int, CustomViewCallback)

[Obsolete("Deprecated in JVM")]
public void OnShowCustomView(View arg0, int arg1, WebChromeClient.CustomViewCallback arg2)

Parameters

arg0 View

View

arg1 int

int

arg2 WebChromeClient.CustomViewCallback

WebChromeClient.CustomViewCallback

OnShowFileChooser(WebView, ValueCallback<Uri[]>, FileChooserParams)

public bool OnShowFileChooser(WebView arg0, ValueCallback<Uri[]> arg1, WebChromeClient.FileChooserParams arg2)

Parameters

arg0 WebView

WebView

arg1 ValueCallback<Uri[]>

ValueCallback

arg2 WebChromeClient.FileChooserParams

WebChromeClient.FileChooserParams

Returns

bool

bool