WebViewClient

Class of android.webkit · WebViewClient.java · Android's reference

public class WebViewClient

A WebView's client: the callbacks of a page's loading, each doing nothing as Android's base class

Fields

public static final int ERROR_UNKNOWN = -1 source
public static final int ERROR_HOST_LOOKUP = -2 source
public static final int ERROR_CONNECT = -6 source
public static final int ERROR_TIMEOUT = -8 source

Constructors

public WebViewClient() empty body source

Methods

public boolean shouldOverrideUrlLoading(WebView view, String url) deprecated source
public boolean shouldOverrideUrlLoading(WebView view, WebResourceRequest request) source
public void onPageStarted(WebView view, String url, Bitmap favicon) empty body source
public void onPageFinished(WebView view, String url) empty body source
public void onLoadResource(WebView view, String url) empty body source
public void onPageCommitVisible(WebView view, String url) empty body source
public WebResourceResponse shouldInterceptRequest(WebView view, String url) deprecated source
public WebResourceResponse shouldInterceptRequest(WebView view, WebResourceRequest request) source
public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) empty body deprecated source
public void onReceivedError(WebView view, WebResourceRequest request, WebResourceError error) empty body source
public void onReceivedHttpError(WebView view, WebResourceRequest request, WebResourceResponse errorResponse) empty body source
public void onReceivedSslError(WebView view, SslErrorHandler handler, android.net.http.SslError error) source
public void onUnhandledKeyEvent(WebView view, KeyEvent event) empty body source
public boolean shouldOverrideKeyEvent(WebView view, KeyEvent event) source
public void doUpdateVisitedHistory(WebView view, String url, boolean isReload) empty body source
public void onScaleChanged(WebView view, float oldScale, float newScale) empty body source
public boolean onRenderProcessGone(WebView view, RenderProcessGoneDetail detail) source
public void onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, String host, String realm) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.