Android.Webkit.WebViewClient.ShouldOverrideUrlLoading Method
Give the host application a chance to take over the control when a new url is about to be loaded in the current WebView.

Syntax

[Android.Runtime.Register("shouldOverrideUrlLoading", "(Landroid/webkit/WebView;Ljava/lang/String;)Z", "GetShouldOverrideUrlLoading_Landroid_webkit_WebView_Ljava_lang_String_Handler")]
public virtual bool ShouldOverrideUrlLoading (WebView view, string url)

Parameters

view
The WebView that is initiating the callback.
url
The url to be loaded.

Returns

Documentation for this section has not yet been entered.

Remarks

Give the host application a chance to take over the control when a new url is about to be loaded in the current WebView. If WebViewClient is not provided, by default WebView will ask Activity Manager to choose the proper handler for the url. If WebViewClient is provided, return true means the host application handles the url, while return false means the current WebView handles the url. This method is not called for requests using the POST "method".

[Android Documentation]

Requirements

Namespace: Android.Webkit
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1