This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
[Android.Runtime.Register("shouldInterceptRequest", "(Landroid/webkit/WebView;Landroid/webkit/WebResourceRequest;)Landroid/webkit/WebResourceResponse;", "GetShouldInterceptRequest_Landroid_webkit_WebView_Landroid_webkit_WebResourceRequest_Handler")]
public virtual Android.Webkit.WebResourceResponse? ShouldInterceptRequest (Android.Webkit.WebView? view, Android.Webkit.IWebResourceRequest? request);
[<Android.Runtime.Register("shouldInterceptRequest", "(Landroid/webkit/WebView;Landroid/webkit/WebResourceRequest;)Landroid/webkit/WebResourceResponse;", "GetShouldInterceptRequest_Landroid_webkit_WebView_Landroid_webkit_WebResourceRequest_Handler")>]
abstract member ShouldInterceptRequest : Android.Webkit.WebView * Android.Webkit.IWebResourceRequest -> Android.Webkit.WebResourceResponse
override this.ShouldInterceptRequest : Android.Webkit.WebView * Android.Webkit.IWebResourceRequest -> Android.Webkit.WebResourceResponse

Parameters

A android.webkit.WebResourceResponse containing the response information or null if the WebView should load the resource itself.

Attributes
RegisterAttribute

Remarks

Java documentation for android.webkit.WebViewClient.shouldInterceptRequest(android.webkit.WebView, android.webkit.WebResourceRequest) .

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.

[Android.Runtime.Register("shouldInterceptRequest", "(Landroid/webkit/WebView;Ljava/lang/String;)Landroid/webkit/WebResourceResponse;", "GetShouldInterceptRequest_Landroid_webkit_WebView_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual Android.Webkit.WebResourceResponse? ShouldInterceptRequest (Android.Webkit.WebView? view, string? url);
[<Android.Runtime.Register("shouldInterceptRequest", "(Landroid/webkit/WebView;Ljava/lang/String;)Landroid/webkit/WebResourceResponse;", "GetShouldInterceptRequest_Landroid_webkit_WebView_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member ShouldInterceptRequest : Android.Webkit.WebView * string -> Android.Webkit.WebResourceResponse
override this.ShouldInterceptRequest : Android.Webkit.WebView * string -> Android.Webkit.WebResourceResponse

Parameters

A android.webkit.WebResourceResponse containing the response information or null if the WebView should load the resource itself.

Attributes
RegisterAttribute ObsoleteAttribute

Remarks

Java documentation for android.webkit.WebViewClient.shouldInterceptRequest(android.webkit.WebView, java.lang.String) .

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.