Share via


WebChromeClient Class

Definition

[Android.Runtime.Register("android/webkit/WebChromeClient", DoNotGenerateAcw=true)]
public class WebChromeClient : Java.Lang.Object
[<Android.Runtime.Register("android/webkit/WebChromeClient", DoNotGenerateAcw=true)>]
type WebChromeClient = class
    inherit Object
Inheritance
WebChromeClient
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

WebChromeClient()
WebChromeClient(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
DefaultVideoPoster

When not playing, video elements are represented by a 'poster' image.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

VideoLoadingProgressView

Obtains a View to be displayed while buffering of full screen video is taking place.

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetVisitedHistory(IValueCallback)

Obtains a list of all visited history items, used for link coloring

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
OnCloseWindow(WebView)

Notify the host application to close the given WebView and remove it from the view system if necessary.

OnConsoleMessage(ConsoleMessage)

Report a JavaScript console message to the host application.

OnConsoleMessage(String, Int32, String)
Obsolete.

Report a JavaScript error message to the host application.

OnCreateWindow(WebView, Boolean, Boolean, Message)

Request the host application to create a new window.

OnExceededDatabaseQuota(String, String, Int64, Int64, Int64, WebStorage+IQuotaUpdater)
Obsolete.

Tell the client that the quota has been exceeded for the Web SQL Database API for a particular origin and request a new quota.

OnGeolocationPermissionsHidePrompt()

Notify the host application that a request for Geolocation permissions, made with a previous call to #onGeolocationPermissionsShowPrompt(String,GeolocationPermissions.Callback) onGeolocationPermissionsShowPrompt() has been canceled.

OnGeolocationPermissionsShowPrompt(String, GeolocationPermissions+ICallback)

Notify the host application that web content from the specified origin is attempting to use the Geolocation API, but no permission state is currently set for that origin.

OnHideCustomView()

Notify the host application that the current page has exited full screen mode.

OnJsAlert(WebView, String, String, JsResult)

Notify the host application that the web page wants to display a JavaScript alert() dialog.

OnJsBeforeUnload(WebView, String, String, JsResult)

Notify the host application that the web page wants to confirm navigation from JavaScript onbeforeunload.

OnJsConfirm(WebView, String, String, JsResult)

Notify the host application that the web page wants to display a JavaScript confirm() dialog.

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

Notify the host application that the web page wants to display a JavaScript prompt() dialog.

OnJsTimeout()
Obsolete.

Tell the client that a JavaScript execution timeout has occured.

OnPermissionRequest(PermissionRequest)

Notify the host application that web content is requesting permission to access the specified resources and the permission currently isn't granted or denied.

OnPermissionRequestCanceled(PermissionRequest)

Notify the host application that the given permission request has been canceled.

OnProgressChanged(WebView, Int32)

Tell the host application the current progress of loading a page.

OnReachedMaxAppCacheSize(Int64, Int64, WebStorage+IQuotaUpdater)
Obsolete.

Notify the host application that the Application Cache has reached the maximum size.

OnReceivedIcon(WebView, Bitmap)

Notify the host application of a new favicon for the current page.

OnReceivedTitle(WebView, String)

Notify the host application of a change in the document title.

OnReceivedTouchIconUrl(WebView, String, Boolean)

Notify the host application of the url for an apple-touch-icon.

OnRequestFocus(WebView)

Request display and focus for this WebView.

OnShowCustomView(View, ScreenOrientation, WebChromeClient+ICustomViewCallback)
Obsolete.

Notify the host application that the current page would like to show a custom View in a particular orientation.

OnShowCustomView(View, WebChromeClient+ICustomViewCallback)

Notify the host application that the current page would like to show a custom View in a particular orientation.

OnShowFileChooser(WebView, IValueCallback, WebChromeClient+FileChooserParams)

Tell the client to show a file chooser.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to