public class TuSdkWebView.TuSdkWebViewClient
extends android.webkit.WebViewClient
ERROR_AUTHENTICATION, ERROR_BAD_URL, ERROR_CONNECT, ERROR_FAILED_SSL_HANDSHAKE, ERROR_FILE, ERROR_FILE_NOT_FOUND, ERROR_HOST_LOOKUP, ERROR_IO, ERROR_PROXY_AUTHENTICATION, ERROR_REDIRECT_LOOP, ERROR_TIMEOUT, ERROR_TOO_MANY_REQUESTS, ERROR_UNKNOWN, ERROR_UNSAFE_RESOURCE, ERROR_UNSUPPORTED_AUTH_SCHEME, ERROR_UNSUPPORTED_SCHEME, SAFE_BROWSING_THREAT_BILLING, SAFE_BROWSING_THREAT_MALWARE, SAFE_BROWSING_THREAT_PHISHING, SAFE_BROWSING_THREAT_UNKNOWN, SAFE_BROWSING_THREAT_UNWANTED_SOFTWARE
构造器和说明 |
---|
TuSdkWebViewClient() |
限定符和类型 | 方法和说明 |
---|---|
void |
onPageFinished(android.webkit.WebView view,
java.lang.String url)
页面加载完成
|
void |
onPageStarted(android.webkit.WebView view,
java.lang.String url,
android.graphics.Bitmap favicon)
页面加载开始
|
void |
onReceivedError(android.webkit.WebView view,
int errorCode,
java.lang.String description,
java.lang.String failingUrl) |
boolean |
shouldOverrideUrlLoading(android.webkit.WebView view,
java.lang.String url)
使用本页加载
|
doUpdateVisitedHistory, onFormResubmission, onLoadResource, onPageCommitVisible, onReceivedClientCertRequest, onReceivedError, onReceivedHttpAuthRequest, onReceivedHttpError, onReceivedLoginRequest, onReceivedSslError, onRenderProcessGone, onSafeBrowsingHit, onScaleChanged, onTooManyRedirects, onUnhandledKeyEvent, shouldInterceptRequest, shouldInterceptRequest, shouldOverrideKeyEvent, shouldOverrideUrlLoading
public boolean shouldOverrideUrlLoading(android.webkit.WebView view, java.lang.String url)
shouldOverrideUrlLoading
在类中 android.webkit.WebViewClient
public void onReceivedError(android.webkit.WebView view, int errorCode, java.lang.String description, java.lang.String failingUrl)
onReceivedError
在类中 android.webkit.WebViewClient
public void onPageStarted(android.webkit.WebView view, java.lang.String url, android.graphics.Bitmap favicon)
onPageStarted
在类中 android.webkit.WebViewClient
public void onPageFinished(android.webkit.WebView view, java.lang.String url)
onPageFinished
在类中 android.webkit.WebViewClient