Class WebView

Definition

Namespace:
Tizen.NUI.BaseComponents
Assembly:
Tizen.NUI.dll
API Level:
9

WebView allows presenting content with embedded web browser, both local files and remote websites.

C#
Copy
public class WebView : View, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider
Inheritance
Implements

Constructors

View Source

WebView()

Creates a WebView.

Declaration
C#
Copy
public WebView()
API Level: 9
View Source

WebView(String, String)

Creates a WebView with locale and time-zone.

Declaration
C#
Copy
public WebView(string locale, string timezoneId)
Parameters
Type Name Description
String locale

The specified locale

String timezoneId

The specified time-zone ID

View Source

WebView(String[])

Creates a WebView with an args list.

Declaration
C#
Copy
public WebView(string[] args)
Parameters
Type Name Description
String[] args

Arguments passed into web engine. The first value of array must be program's name.

API Level: 9
View Source

WebView(WebView)

Copy constructor.

Declaration
C#
Copy
public WebView(WebView webView)
Parameters
Type Name Description
WebView webView

WebView to copy. The copied WebView will point at the same implementation

API Level: 9

Fields

View Source

CacheModelProperty

CacheModelProperty

Declaration
C#
Copy
public static readonly BindableProperty CacheModelProperty
Field Value
Type Description
BindableProperty
View Source

CookieAcceptPolicyProperty

CookieAcceptPolicyProperty

Declaration
C#
Copy
public static readonly BindableProperty CookieAcceptPolicyProperty
Field Value
Type Description
BindableProperty
View Source

DefaultFontSizeProperty

DefaultFontSizeProperty

Declaration
C#
Copy
public static readonly BindableProperty DefaultFontSizeProperty
Field Value
Type Description
BindableProperty
View Source

DefaultTextEncodingNameProperty

DefaultTextEncodingNameProperty

Declaration
C#
Copy
public static readonly BindableProperty DefaultTextEncodingNameProperty
Field Value
Type Description
BindableProperty
View Source

EnableJavaScriptProperty

EnableJavaScriptProperty

Declaration
C#
Copy
public static readonly BindableProperty EnableJavaScriptProperty
Field Value
Type Description
BindableProperty
View Source

LoadImagesAutomaticallyProperty

LoadImagesAutomaticallyProperty

Declaration
C#
Copy
public static readonly BindableProperty LoadImagesAutomaticallyProperty
Field Value
Type Description
BindableProperty

Properties

View Source

BackForwardList

BackForwardList.

Declaration
C#
Copy
public WebBackForwardList BackForwardList { get; }
Property Value
Type Description
WebBackForwardList
View Source

CacheModel

Deprecated. The cache model of the current WebView.

Declaration
C#
Copy
public CacheModel CacheModel { get; set; }
Property Value
Type Description
CacheModel
View Source

ContentBackgroundColor

Background color of web page. Please note that it only works after LoadUrl, etc.

Declaration
C#
Copy
public Color ContentBackgroundColor { get; set; }
Property Value
Type Description
Color
View Source

ContentSize

The size of content, read-only.

Declaration
C#
Copy
public Size ContentSize { get; }
Property Value
Type Description
Size
View Source

Context

Context.

Declaration
C#
Copy
public WebContext Context { get; }
Property Value
Type Description
WebContext
View Source

CookieAcceptPolicy

Deprecated. The cookie acceptance policy.

Declaration
C#
Copy
public CookieAcceptPolicy CookieAcceptPolicy { get; set; }
Property Value
Type Description
CookieAcceptPolicy
View Source

CookieManager

CookieManager.

Declaration
C#
Copy
public WebCookieManager CookieManager { get; }
Property Value
Type Description
WebCookieManager
View Source

CursorEnabledByClient

Whether cursor is enabled or not by client.

Declaration
C#
Copy
public bool CursorEnabledByClient { get; set; }
Property Value
Type Description
Boolean
View Source

DefaultFontSize

The default font size in pixel.

Declaration
C#
Copy
public int DefaultFontSize { get; set; }
Property Value
Type Description
Int32
View Source

DefaultTextEncodingName

The default text encoding name.
e.g. "UTF-8"

Declaration
C#
Copy
public string DefaultTextEncodingName { get; set; }
Property Value
Type Description
String
View Source

EnableJavaScript

Deprecated. Whether JavaScript is enabled.

Declaration
C#
Copy
public bool EnableJavaScript { get; set; }
Property Value
Type Description
Boolean
View Source

Favicon

Gets favicon of web page.

Declaration
C#
Copy
public ImageView Favicon { get; }
Property Value
Type Description
ImageView
API Level: 9
View Source

KeyEventsEnabled

Whether key events are enabled or not.

Declaration
C#
Copy
public bool KeyEventsEnabled { get; set; }
Property Value
Type Description
Boolean
View Source

LoadImagesAutomatically

Deprecated. Whether images can be loaded automatically.

Declaration
C#
Copy
public bool LoadImagesAutomatically { get; set; }
Property Value
Type Description
Boolean
View Source

LoadProgressPercentage

Gets percentage of loading progress.

Declaration
C#
Copy
public float LoadProgressPercentage { get; }
Property Value
Type Description
Single
API Level: 9
View Source

MouseEventsEnabled

Whether mouse events are enabled or not.

Declaration
C#
Copy
public bool MouseEventsEnabled { get; set; }
Property Value
Type Description
Boolean
View Source

PageZoomFactor

Zoom factor of web page.

Declaration
C#
Copy
public float PageZoomFactor { get; set; }
Property Value
Type Description
Single
View Source

ScrollPosition

The position of scroll.

Declaration
C#
Copy
public Position ScrollPosition { get; set; }
Property Value
Type Description
Position
View Source

ScrollSize

The size of scroll, read-only.

Declaration
C#
Copy
public Size ScrollSize { get; }
Property Value
Type Description
Size
View Source

SelectedText

Gets selected text in web page.

Declaration
C#
Copy
public string SelectedText { get; }
Property Value
Type Description
String
View Source

Settings

BackForwardList.

Declaration
C#
Copy
public WebSettings Settings { get; }
Property Value
Type Description
WebSettings
View Source

TextZoomFactor

Zoom factor of text in web page.

Declaration
C#
Copy
public float TextZoomFactor { get; set; }
Property Value
Type Description
Single
View Source

TileCoverAreaMultiplier

Multiplier of cover area of tile when web page is rendered.

Declaration
C#
Copy
public float TileCoverAreaMultiplier { get; set; }
Property Value
Type Description
Single
View Source

TilesClearedWhenHidden

Whether tiles are cleared or not when hidden.

Declaration
C#
Copy
public bool TilesClearedWhenHidden { get; set; }
Property Value
Type Description
Boolean
View Source

Title

Gets title of web page.

Declaration
C#
Copy
public string Title { get; }
Property Value
Type Description
String
API Level: 9
View Source

Url

The URL to load.

Declaration
C#
Copy
public string Url { get; set; }
Property Value
Type Description
String
API Level: 9
View Source

UserAgent

The user agent string.

Declaration
C#
Copy
public string UserAgent { get; set; }
Property Value
Type Description
String
API Level: 9
View Source

VideoHoleEnabled

Whether video hole is enabled or not.

Declaration
C#
Copy
public bool VideoHoleEnabled { get; set; }
Property Value
Type Description
Boolean

Methods

View Source

ActivateAccessibility(Boolean)

Requests to activate/deactivate the accessibility usage set by web app.

Declaration
C#
Copy
public void ActivateAccessibility(bool activated)
Parameters
Type Name Description
Boolean activated

The new factor to be scaled

View Source

AddCustomHeader(String, String)

Adds custom header.

Declaration
C#
Copy
public bool AddCustomHeader(string name, string value)
Parameters
Type Name Description
String name

The name of custom header

String value

The value of custom header

Returns
Type Description
Boolean
View Source

AddDynamicCertificatePath(String, String)

Adds dynamic certificate path.

Declaration
C#
Copy
public void AddDynamicCertificatePath(string host, string certPath)
Parameters
Type Name Description
String host

Host that required client authentication

String certPath

The file path stored certificate

View Source

AddJavaScriptMessageHandler(String, WebView.JavaScriptMessageHandler)

Add a message handler into the WebView.

Declaration
C#
Copy
public void AddJavaScriptMessageHandler(string objectName, WebView.JavaScriptMessageHandler handler)
Parameters
Type Name Description
String objectName

The name of exposed object

WebView.JavaScriptMessageHandler handler

The callback function

View Source

CanGoBack()

Returns whether backward is possible.

Declaration
C#
Copy
public bool CanGoBack()
Returns
Type Description
Boolean

True if backward is possible, false otherwise

View Source

CanGoForward()

Returns whether forward is possible.

Declaration
C#
Copy
public bool CanGoForward()
Returns
Type Description
Boolean

True if forward is possible, false otherwise

View Source

CheckVideoPlayingAsynchronously(WebView.VideoPlayingCallback)

Asynchronously requests to check if there is a video playing in the given view.

Declaration
C#
Copy
public bool CheckVideoPlayingAsynchronously(WebView.VideoPlayingCallback callback)
Parameters
Type Name Description
WebView.VideoPlayingCallback callback

The callback called after checking if video is playing or not

Returns
Type Description
Boolean
View Source

ClearAllTilesResources()

Clears title resources of current WebView.

Declaration
C#
Copy
public void ClearAllTilesResources()
View Source

ClearCache()

Deprecated. Clears the cache of current WebView.

Declaration
C#
Copy
public void ClearCache()
View Source

ClearCookies()

Deprecated. Clears all the cookies of current WebView.

Declaration
C#
Copy
public void ClearCookies()
View Source

ClearHistory()

Clears the history of current WebView.

Declaration
C#
Copy
public void ClearHistory()
View Source

Dispose(DisposeTypes)

Dispose for IDisposable pattern

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type
Overrides
View Source

EvaluateJavaScript(String)

Evaluates JavaScript code represented as a string.

Declaration
C#
Copy
public void EvaluateJavaScript(string script)
Parameters
Type Name Description
String script

The JavaScript code

View Source

EvaluateJavaScript(String, WebView.JavaScriptMessageHandler)

Evaluates JavaScript code represented as a string.

Declaration
C#
Copy
public void EvaluateJavaScript(string script, WebView.JavaScriptMessageHandler handler)
Parameters
Type Name Description
String script

The JavaScript code

WebView.JavaScriptMessageHandler handler

The callback for result of JavaScript code evaluation

View Source

GetPlainTextAsynchronously(WebView.PlainTextReceivedCallback)

Get a plain text of current web page asynchronously. Please note that it gets plain text of currently loaded page so please call this method after page load finished.

Declaration
C#
Copy
public void GetPlainTextAsynchronously(WebView.PlainTextReceivedCallback callback)
Parameters
Type Name Description
WebView.PlainTextReceivedCallback callback

The callback for getting plain text

View Source

GetScaleFactor()

Gets the current scale factor of the page.

Declaration
C#
Copy
public float GetScaleFactor()
Returns
Type Description
Single
View Source

GetScreenshot(Rectangle, Single)

Get snapshot of the specified viewArea of page.

Declaration
C#
Copy
public ImageView GetScreenshot(Rectangle viewArea, float scaleFactor)
Parameters
Type Name Description
Rectangle viewArea

Host that required client authentication

Single scaleFactor

The file path stored certificate

Returns
Type Description
ImageView
View Source

GetScreenshotAsynchronously(Rectangle, Single, WebView.ScreenshotAcquiredCallback)

Get snapshot of the specified viewArea of page.

Declaration
C#
Copy
public bool GetScreenshotAsynchronously(Rectangle viewArea, float scaleFactor, WebView.ScreenshotAcquiredCallback callback)
Parameters
Type Name Description
Rectangle viewArea

Host that required client authentication

Single scaleFactor

The file path stored certificate

WebView.ScreenshotAcquiredCallback callback

The callback for getting screen shot

Returns
Type Description
Boolean
View Source

GoBack()

Goes to the back

Declaration
C#
Copy
public void GoBack()
View Source

GoForward()

Goes to the forward

Declaration
C#
Copy
public void GoForward()
View Source

HighlightText(String, WebView.FindOption, UInt32)

Searches and highlights the given string in the document.

Declaration
C#
Copy
public bool HighlightText(string text, WebView.FindOption options, uint maxMatchCount)
Parameters
Type Name Description
String text

The text to be searched

WebView.FindOption options

The options to search

UInt32 maxMatchCount

The maximum match count to search

Returns
Type Description
Boolean
View Source

HitTest(Int32, Int32, WebView.HitTestMode)

Does hit test synchronously.

Declaration
C#
Copy
public WebHitTestResult HitTest(int x, int y, WebView.HitTestMode mode)
Parameters
Type Name Description
Int32 x

the horizontal position to query

Int32 y

the vertical position to query

WebView.HitTestMode mode

the mode of hit test

Returns
Type Description
WebHitTestResult
View Source

HitTestAsynchronously(Int32, Int32, WebView.HitTestMode, WebView.HitTestFinishedCallback)

Does hit test asynchronously.

Declaration
C#
Copy
public bool HitTestAsynchronously(int x, int y, WebView.HitTestMode mode, WebView.HitTestFinishedCallback callback)
Parameters
Type Name Description
Int32 x

the horizontal position to query

Int32 y

the vertical position to query

WebView.HitTestMode mode

the mode of hit test

WebView.HitTestFinishedCallback callback

the callback that is called after hit test is finished.

Returns
Type Description
Boolean
View Source

JavaScriptAlertReply()

Reply for alert popup.

Declaration
C#
Copy
public void JavaScriptAlertReply()
View Source

JavaScriptConfirmReply(Boolean)

Reply for confirm popup.

Declaration
C#
Copy
public void JavaScriptConfirmReply(bool confirmed)
Parameters
Type Name Description
Boolean confirmed

Confirmed or not

View Source

JavaScriptPromptReply(String)

Reply for prompt popup.

Declaration
C#
Copy
public void JavaScriptPromptReply(string result)
Parameters
Type Name Description
String result

Text in prompt input field.

View Source

LoadContents(Byte[], String, String, String)

Requests to load the given contents by MIME type.

Declaration
C#
Copy
public bool LoadContents(byte[] contents, string mimeType, string encoding, string baseUri)
Parameters
Type Name Description
Byte[] contents

The contents to be loaded in bytes

String mimeType

The type of contents, "text/html" is assumed if null

String encoding

The encoding for contents, "UTF-8" is assumed if null

String baseUri

The base URI to use for relative resources

Returns
Type Description
Boolean
View Source

LoadContents(String, UInt32, String, String, String)

Requests to load the given contents by MIME type.

Declaration
C#
Copy
public bool LoadContents(string contents, uint contentSize, string mimeType, string encoding, string baseUri)
Parameters
Type Name Description
String contents

The contents to be loaded. For UTF-8 encoding, contents would be got like System.Text.Encoding.UTF8.GetString(...)

UInt32 contentSize

The size of contents (in bytes)

String mimeType

The type of contents, "text/html" is assumed if null

String encoding

The encoding for contents, "UTF-8" is assumed if null

String baseUri

The base URI to use for relative resources

Returns
Type Description
Boolean
View Source

LoadHtmlString(String)

Loads a html by string.

Declaration
C#
Copy
public void LoadHtmlString(string data)
Parameters
Type Name Description
String data

The data of Web

API Level: 9
View Source

LoadHTMLString(String)

Deprecated. Loads a html by string.

Declaration
C#
Copy
public void LoadHTMLString(string data)
Parameters
Type Name Description
String data

The data of Web

View Source

LoadHtmlStringOverrideCurrentEntry(String, String, String)

Loads the specified html as the content of the view to override current history entry.

Declaration
C#
Copy
public bool LoadHtmlStringOverrideCurrentEntry(string html, string baseUri, string unreachableUri)
Parameters
Type Name Description
String html

The html to be loaded

String baseUri

Base URL used for relative paths to external objects

String unreachableUri

URL that could not be reached

Returns
Type Description
Boolean
View Source

LoadUrl(String)

Loads a html.

Declaration
C#
Copy
public void LoadUrl(string url)
Parameters
Type Name Description
String url

The path of Web

Remarks

The following privileges are required: http://tizen.org/privilege/internet for remote web pages of websites. http://tizen.org/privilege/mediastorage for local files in media storage. http://tizen.org/privilege/externalstorage for local files in external storage.

API Level: 9
View Source

RegisterGeolocationPermissionCallback(WebView.GeolocationPermissionCallback)

Registers callback which will be called upon geolocation permission request.

Declaration
C#
Copy
public void RegisterGeolocationPermissionCallback(WebView.GeolocationPermissionCallback callback)
Parameters
Type Name Description
WebView.GeolocationPermissionCallback callback

The callback for requesting geolocation permission

View Source

RegisterJavaScriptAlertCallback(WebView.JavaScriptAlertCallback)

Registers a callback for JS alert.

Declaration
C#
Copy
public void RegisterJavaScriptAlertCallback(WebView.JavaScriptAlertCallback callback)
Parameters
Type Name Description
WebView.JavaScriptAlertCallback callback

The callback function

View Source

RegisterJavaScriptConfirmCallback(WebView.JavaScriptConfirmCallback)

Registers a callback for JS confirm.

Declaration
C#
Copy
public void RegisterJavaScriptConfirmCallback(WebView.JavaScriptConfirmCallback callback)
Parameters
Type Name Description
WebView.JavaScriptConfirmCallback callback

The callback function

View Source

RegisterJavaScriptPromptCallback(WebView.JavaScriptPromptCallback)

Registers a callback for JS promt.

Declaration
C#
Copy
public void RegisterJavaScriptPromptCallback(WebView.JavaScriptPromptCallback callback)
Parameters
Type Name Description
WebView.JavaScriptPromptCallback callback

The callback function

View Source

ReleaseSwigCPtr(Runtime.InteropServices.HandleRef)

Declaration
C#
Copy
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type Name Description
Tizen.System.Runtime.InteropServices.HandleRef swigCPtr
Overrides
View Source

Reload()

Reloads the Web

Declaration
C#
Copy
public void Reload()
View Source

ReloadWithoutCache()

Reloads the current page's document without cache

Declaration
C#
Copy
public bool ReloadWithoutCache()
Returns
Type Description
Boolean
View Source

RemoveCustomHeader(String)

Removes custom header.

Declaration
C#
Copy
public bool RemoveCustomHeader(string name)
Parameters
Type Name Description
String name

The name of custom header

Returns
Type Description
Boolean
View Source

Resume()

Resumes the operation after calling Suspend()

Declaration
C#
Copy
public void Resume()
View Source

ResumeNetworkLoading()

Resumes all network loading.

Declaration
C#
Copy
public void ResumeNetworkLoading()
View Source

ScrollBy(Int32, Int32)

Scrolls page of web view by deltaX and detlaY.

Declaration
C#
Copy
public void ScrollBy(int deltaX, int deltaY)
Parameters
Type Name Description
Int32 deltaX

The deltaX of scroll

Int32 deltaY

The deltaY of scroll

View Source

ScrollEdgeBy(Int32, Int32)

Scrolls edge of web view by deltaX and deltaY.

Declaration
C#
Copy
public bool ScrollEdgeBy(int deltaX, int deltaY)
Parameters
Type Name Description
Int32 deltaX

The deltaX of scroll

Int32 deltaY

The deltaY of scroll

Returns
Type Description
Boolean
View Source

SetScaleFactor(Single, Vector2)

Scales the current page, centered at the given point.

Declaration
C#
Copy
public void SetScaleFactor(float scaleFactor, Vector2 point)
Parameters
Type Name Description
Single scaleFactor

The new factor to be scaled

Vector2 point

The center coordinate

View Source

SetTtsFocus(Boolean)

Sets the tts focus to the webview. Please note that it only works when the webview does not have keyinput focus. If the webview has a keyinput focus, it also has tts focus so calling SetTtsFocus(false) is ignored.

Declaration
C#
Copy
public void SetTtsFocus(bool focused)
Parameters
Type Name Description
Boolean focused

Focused or not

View Source

StartInspectorServer(UInt32)

Starts the inspector server.

Declaration
C#
Copy
public uint StartInspectorServer(uint port)
Parameters
Type Name Description
UInt32 port

The port number

Returns
Type Description
UInt32
View Source

StopInspectorServer()

Stops the inspector server.

Declaration
C#
Copy
public bool StopInspectorServer()
Returns
Type Description
Boolean
View Source

StopLoading()

Stops loading the Web

Declaration
C#
Copy
public void StopLoading()
View Source

Suspend()

Suspends the operation.

Declaration
C#
Copy
public void Suspend()
View Source

SuspendNetworkLoading()

Suspends all network loading.

Declaration
C#
Copy
public void SuspendNetworkLoading()

Events

View Source

CertificateConfirmed

Event for the CertificateConfirmed signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when certificate would be confirmed.

Declaration
C#
Copy
public event EventHandler<WebViewCertificateReceivedEventArgs> CertificateConfirmed
Event Type
Type Description
EventHandler<WebViewCertificateReceivedEventArgs>
View Source

ConsoleMessageReceived

Event for the ConsoleMessageReceived signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when console message is received.

Declaration
C#
Copy
public event EventHandler<WebViewConsoleMessageReceivedEventArgs> ConsoleMessageReceived
Event Type
Type Description
EventHandler<WebViewConsoleMessageReceivedEventArgs>
View Source

ContextMenuHidden

Event for the ContextMenuHidden signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when context menu item is hidden.

Declaration
C#
Copy
public event EventHandler<WebViewContextMenuHiddenEventArgs> ContextMenuHidden
Event Type
Type Description
EventHandler<WebViewContextMenuHiddenEventArgs>
View Source

ContextMenuShown

Event for the ContextMenuShown signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when context menu is shown.

Declaration
C#
Copy
public event EventHandler<WebViewContextMenuShownEventArgs> ContextMenuShown
Event Type
Type Description
EventHandler<WebViewContextMenuShownEventArgs>
View Source

FormRepostPolicyDecided

Event for the FormRepostDecided signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when form repost policy would be decided.

Declaration
C#
Copy
public event EventHandler<WebViewFormRepostPolicyDecidedEventArgs> FormRepostPolicyDecided
Event Type
Type Description
EventHandler<WebViewFormRepostPolicyDecidedEventArgs>
View Source

FrameRendered

Event for the FrameRendered signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when frame is rendered off-screen.

Declaration
C#
Copy
public event EventHandler<EventArgs> FrameRendered
Event Type
Type Description
EventHandler<EventArgs>
View Source

HttpAuthRequested

Event for the HttpAuthRequested signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when http authentication is requested.

Declaration
C#
Copy
public event EventHandler<WebViewHttpAuthRequestedEventArgs> HttpAuthRequested
Event Type
Type Description
EventHandler<WebViewHttpAuthRequestedEventArgs>
View Source

NavigationPolicyDecided

Event for the NavigationPolicyDecided signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when response policy would be decided.

Declaration
C#
Copy
public event EventHandler<WebViewPolicyDecidedEventArgs> NavigationPolicyDecided
Event Type
Type Description
EventHandler<WebViewPolicyDecidedEventArgs>
View Source

NewWindowCreated

Event for the NewWindowCreated signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when a new window would be created.

Declaration
C#
Copy
public event EventHandlerWithReturnType<object, EventArgs, WebView> NewWindowCreated
Event Type
Type Description
EventHandlerWithReturnType<Object, EventArgs, WebView>
View Source

PageLoadError

Event for the PageLoadError signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when there's an error in page loading.

Declaration
C#
Copy
public event EventHandler<WebViewPageLoadErrorEventArgs> PageLoadError
Event Type
Type Description
EventHandler<WebViewPageLoadErrorEventArgs>
API Level: 9
View Source

PageLoadFinished

Event for the PageLoadFinished signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when page loading has finished.

Declaration
C#
Copy
public event EventHandler<WebViewPageLoadEventArgs> PageLoadFinished
Event Type
Type Description
EventHandler<WebViewPageLoadEventArgs>
API Level: 9
View Source

PageLoading

Event for the PageLoading signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when page loading is in progress.

Declaration
C#
Copy
public event EventHandler<WebViewPageLoadEventArgs> PageLoading
Event Type
Type Description
EventHandler<WebViewPageLoadEventArgs>
API Level: 9
View Source

PageLoadStarted

Event for the PageLoadStarted signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when page loading has started.

Declaration
C#
Copy
public event EventHandler<WebViewPageLoadEventArgs> PageLoadStarted
Event Type
Type Description
EventHandler<WebViewPageLoadEventArgs>
API Level: 9
View Source

ResponsePolicyDecided

Event for the ResponsePolicyDecided signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when response policy would be decided.

Declaration
C#
Copy
public event EventHandler<WebViewPolicyDecidedEventArgs> ResponsePolicyDecided
Event Type
Type Description
EventHandler<WebViewPolicyDecidedEventArgs>
View Source

ScrollEdgeReached

Event for the ScrollEdgeReached signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when web view is scrolled to edge.

Declaration
C#
Copy
public event EventHandler<WebViewScrollEdgeReachedEventArgs> ScrollEdgeReached
Event Type
Type Description
EventHandler<WebViewScrollEdgeReachedEventArgs>
View Source

SslCertificateChanged

Event for the SslCertificateChanged signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when SSL certificate is changed.

Declaration
C#
Copy
public event EventHandler<WebViewCertificateReceivedEventArgs> SslCertificateChanged
Event Type
Type Description
EventHandler<WebViewCertificateReceivedEventArgs>
View Source

UrlChanged

Event for the UrlChanged signal which can be used to subscribe or unsubscribe the event handler.
This signal is emitted when url is changed.

Declaration
C#
Copy
public event EventHandler<WebViewUrlChangedEventArgs> UrlChanged
Event Type
Type Description
EventHandler<WebViewUrlChangedEventArgs>

Implements

Extension Methods