shouldInterceptRequest
open override fun shouldInterceptRequest(webView: WebView, request: WebResourceRequest): WebResourceResponse?(source)
Intercepts the favicon request and returns blank favicon
Return
The blank favicon image embedded in a WebResourceResponse or null if the url does not contain a favicon.
Parameters
webView
The web view.
request
The WebResourceRequest being loaded.
open override fun shouldInterceptRequest(webView: WebView, url: String): WebResourceResponse?(source)
Deprecated
Deprecated in Java
Intercepts the favicon request and returns a blank favicon
Return
The blank favicon image embedded in a WebResourceResponse or null if the url does not contain a favicon.
Parameters
webView
The web view.
url
The url being loaded.