public class TuSdkWebView.TuSdkWebChromeClient
extends android.webkit.WebChromeClient
构造器和说明 |
---|
TuSdkWebChromeClient() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
onJsAlert(android.webkit.WebView view,
java.lang.String url,
java.lang.String message,
android.webkit.JsResult result)
允许js中的alert方法
|
boolean |
onJsConfirm(android.webkit.WebView view,
java.lang.String url,
java.lang.String message,
android.webkit.JsResult result) |
boolean |
onJsPrompt(android.webkit.WebView view,
java.lang.String url,
java.lang.String message,
java.lang.String defaultValue,
android.webkit.JsPromptResult result) |
void |
onProgressChanged(android.webkit.WebView view,
int newProgress)
进度改变
|
void |
onReceivedTitle(android.webkit.WebView view,
java.lang.String title)
获取页面标题
|
getDefaultVideoPoster, getVideoLoadingProgressView, getVisitedHistory, onCloseWindow, onConsoleMessage, onConsoleMessage, onCreateWindow, onExceededDatabaseQuota, onGeolocationPermissionsHidePrompt, onGeolocationPermissionsShowPrompt, onHideCustomView, onJsBeforeUnload, onJsTimeout, onPermissionRequest, onPermissionRequestCanceled, onReachedMaxAppCacheSize, onReceivedIcon, onReceivedTouchIconUrl, onRequestFocus, onShowCustomView, onShowCustomView, onShowFileChooser
public void onReceivedTitle(android.webkit.WebView view, java.lang.String title)
onReceivedTitle
在类中 android.webkit.WebChromeClient
public void onProgressChanged(android.webkit.WebView view, int newProgress)
onProgressChanged
在类中 android.webkit.WebChromeClient
public boolean onJsAlert(android.webkit.WebView view, java.lang.String url, java.lang.String message, android.webkit.JsResult result)
onJsAlert
在类中 android.webkit.WebChromeClient
public boolean onJsConfirm(android.webkit.WebView view, java.lang.String url, java.lang.String message, android.webkit.JsResult result)
onJsConfirm
在类中 android.webkit.WebChromeClient
public boolean onJsPrompt(android.webkit.WebView view, java.lang.String url, java.lang.String message, java.lang.String defaultValue, android.webkit.JsPromptResult result)
onJsPrompt
在类中 android.webkit.WebChromeClient