Android.Webkit.WebView Members

The members of Android.Webkit.WebView are listed below.

See Also: Inherited members from Android.Widget.AbsoluteLayout

Public Constructors

Constructs a new WebView with a Context object.
Constructs a new WebView with layout parameters.
Constructs a new WebView with layout parameters and a default style.
Constructs a new WebView with layout parameters and a default style.
Constructs a new WebView with layout parameters and a default style.

Protected Constructors

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

Public Fields

const
SchemeGeostring. URI scheme for map address.
const
SchemeMailtostring. URI scheme for email address.
const
SchemeTelstring. URI scheme for telephone number.

Public Properties

CertificateAndroid.Net.Http.SslCertificate. Gets the SSL certificate for the main top-level page or null if there is no certificate (the site is not secure).
[read-only]
ContentHeightint. Gets the height of the HTML content.
[read-only]
FaviconAndroid.Graphics.Bitmap. Gets the favicon for the current page.
[read-only]
IsPrivateBrowsingEnabledbool. Gets whether private browsing is enabled in this WebView.
[read-only]
OriginalUrlstring. Gets the original URL for the current page.
[read-only]
static
PluginListPluginList. Documentation for this section has not yet been entered.
[read-only]
Progressint. Gets the progress for the current page.
[read-only]
Scalefloat. Gets the current scale of this WebView.
[read-only]
SettingsWebSettings. Gets the WebSettings object used to control the settings for this WebView.
[read-only]
Titlestring. Gets the title for the current page.
[read-only]
Urlstring. Gets the URL for the current page.
[read-only]
VisibleTitleHeightint. Documentation for this section has not yet been entered.
[read-only]
ZoomControlsAndroid.Views.View. Documentation for this section has not yet been entered.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AddJavascriptInterface(Java.Lang.Object, string)
Injects the supplied Java object into this WebView.
CanGoBack() : bool
Gets whether this WebView has a back history item.
CanGoBackOrForward(int) : bool
Gets whether the page can go back or forward the given number of steps.
CanGoForward() : bool
Gets whether this WebView has a forward history item.
CanZoomIn() : bool
Gets whether this WebView can be zoomed in.
CanZoomOut() : bool
Gets whether this WebView can be zoomed out.
CapturePicture() : Android.Graphics.Picture
Gets a new picture that captures the current contents of this WebView.
ClearCache(bool)
Clears the resource cache.
static
ClearClientCertPreferences(Java.Lang.IRunnable)
Clears the client certificate preferences stored in response to proceeding/cancelling client cert requests.
ClearFormData()
Removes the autocomplete popup from the currently focused form field, if present.
ClearHistory()
Tells this WebView to clear its internal back/forward list.
ClearMatches()
Clears the highlighting surrounding text matches created by WebView.FindAllAsync(string).
ClearSslPreferences()
Clears the SSL preferences table stored in response to proceeding with SSL certificate errors.
ClearView()
Clears this WebView so that onDraw() will draw nothing but white background, and onMeasure() will return 0 if MeasureSpec is not MeasureSpec.
CopyBackForwardList() : WebBackForwardList
Gets the WebBackForwardList for this WebView.
CreatePrintDocumentAdapter() : Android.Print.PrintDocumentAdapter
CreatePrintDocumentAdapter(string) : Android.Print.PrintDocumentAdapter
Creates a PrintDocumentAdapter that provides the content of this Webview for printing.
DebugDump()
Documentation for this section has not yet been entered.
Destroy()
Destroys the internal state of this WebView.
static
DisablePlatformNotifications()
Documentation for this section has not yet been entered.
DocumentHasImages(Android.OS.Message)
Queries the document to see if it contains any image references.
EmulateShiftHeld()
Documentation for this section has not yet been entered.
static
EnablePlatformNotifications()
Documentation for this section has not yet been entered.
static
EnableSlowWholeDocumentDraw()
For apps targeting the L release, WebView has a new default behavior that reduces memory footprint and increases performance by intelligently choosing the portion of the HTML document that needs to be drawn.
EvaluateJavascript(string, IValueCallback)
Documentation for this section has not yet been entered.
static
FindAddress(string) : string
Gets the first substring consisting of the address of a physical location.
FindAll(string) : int
Finds all instances of find on the page and highlights them.
FindAllAsync(string)
Finds all instances of find on the page and highlights them, asynchronously.
FindNext(bool)
Highlights and scrolls to the next match found by WebView.FindAllAsync(string), wrapping around page boundaries as necessary.
FlingScroll(int, int)
FreeMemory()
Informs this WebView that memory is low so that it can free any available memory.
GetHitTestResult() : WebView.HitTestResult
Gets a HitTestResult based on the current cursor node.
GetHttpAuthUsernamePassword(string, string) : string[]
Retrieves HTTP authentication credentials for a given host and realm.
GoBack()
Goes back in the history of this WebView.
GoBackOrForward(int)
Goes to the history item that is the number of steps away from the current item.
GoForward()
Goes forward in the history of this WebView.
InvokeZoomPicker()
Invokes the graphical zoom picker widget for this WebView.
LoadData(string, string, string)
Loads the given data into this WebView using a 'data' scheme URL.
LoadDataWithBaseURL(string, string, string, string, string)
Loads the given data into this WebView, using baseUrl as the base URL for the content.
LoadUrl(string)
Loads the given URL.
LoadUrl(string, IDictionary<string, string>)
Documentation for this section has not yet been entered.
OnChildViewAdded(Android.Views.View, Android.Views.View)
Called when a new child is added to a parent view.
OnChildViewRemoved(Android.Views.View, Android.Views.View)
Called when a child is removed from a parent view.
OnGlobalFocusChanged(Android.Views.View, Android.Views.View)
Callback method to be invoked when the focus changes in the view tree.
OnPause()
Pauses any extra processing associated with this WebView and its associated DOM, plugins, JavaScript etc.
OnResume()
Resumes a WebView after a previous call to onPause().
OverlayHorizontalScrollbar() : bool
Gets whether horizontal scrollbar has overlay style.
OverlayVerticalScrollbar() : bool
Gets whether vertical scrollbar has overlay style.
PageDown(bool) : bool
Scrolls the contents of this WebView down by half the page size.
PageUp(bool) : bool
Scrolls the contents of this WebView up by half the view size.
PauseTimers()
Pauses all layout, parsing, and JavaScript timers for all WebViews.
PostUrl(string, byte[])
Loads the URL with postData using "POST" method into this WebView.
RefreshPlugins(bool)
Documentation for this section has not yet been entered.
Reload()
Reloads the current URL.
RemoveJavascriptInterface(string)
Removes a previously injected Java object from this WebView.
RequestFocusNodeHref(Android.OS.Message)
Requests the anchor or image element URL at the last tapped point.
RequestImageRef(Android.OS.Message)
Requests the URL of the image last touched by the user. msg will be sent to its target with a String representing the URL as its object.
RestorePicture(Android.OS.Bundle, Java.IO.File) : bool
Documentation for this section has not yet been entered.
RestoreState(Android.OS.Bundle) : WebBackForwardList
Restores the state of this WebView from the given Bundle.
ResumeTimers()
Resumes all layout, parsing, and JavaScript timers for all WebViews.
SavePassword(string, string, string)
Sets a username and password pair for the specified host.
SavePicture(Android.OS.Bundle, Java.IO.File) : bool
Documentation for this section has not yet been entered.
SaveState(Android.OS.Bundle) : WebBackForwardList
Saves the state of this WebView used in Android.App.Activity.OnSaveInstanceState(Android.OS.Bundle).
SaveWebArchive(string)
Saves the current view as a web archive.
SaveWebArchive(string, bool, IValueCallback)
Documentation for this section has not yet been entered.
SetDownloadListener(IDownloadListener)
Registers the interface to be used when content can not be handled by the rendering engine, and should be downloaded instead.
SetFindListener(WebView.IFindListener)
Registers the listener to be notified as find-on-page operations progress.
SetHorizontalScrollbarOverlay(bool)
Specifies whether the horizontal scrollbar has overlay style.
SetHttpAuthUsernamePassword(string, string, string, string)
Stores HTTP authentication credentials for a given host and realm.
SetInitialScale(int)
Sets the initial scale for this WebView. 0 means default.
SetMapTrackballToArrowKeys(bool)
SetNetworkAvailable(bool)
Informs WebView of the network state.
SetPictureListener(WebView.IPictureListener)
Sets the Picture listener.
SetVerticalScrollbarOverlay(bool)
Specifies whether the vertical scrollbar has overlay style.
SetWebChromeClient(WebChromeClient)
Sets the chrome handler.
static
SetWebContentsDebuggingEnabled(bool)
Enables debugging of web contents (HTML / CSS / JavaScript) loaded into any WebViews of this application.
SetWebViewClient(WebViewClient)
Sets the WebViewClient that will receive various notifications and requests.
ShowFindDialog(string, bool) : bool
Starts an ActionMode for finding text in this WebView.
StopLoading()
Stops the current load.
ZoomBy(float)
Performs a zoom operation in this WebView.
ZoomIn() : bool
Performs zoom in in this WebView.
ZoomOut() : bool
Performs zoom out in this WebView.

Public Events

DownloadDocumentation for this section has not yet been entered.
FindDocumentation for this section has not yet been entered.
PictureDocumentation for this section has not yet been entered.