| java.lang.Object | ||
| android.webkit.WebViewClient | ||
| WebViewClient() |
| void | doUpdateVisitedHistory(WebView view, String url, boolean isReload) | ||||
| Notify the host application to update its visited links database. | |||||
| void | onFormResubmission(WebView view, Message dontResend, Message resend) | ||||
| As the host application if the browser should resend data as the requested page was a result of a POST. | |||||
| void | onLoadResource(WebView view, String url) | ||||
| Notify the host application that the WebView will load the resource specified by the given url. | |||||
| void | onPageStarted(WebView view, String url, Bitmap favicon) | ||||
| Notify the host application that a page has started loading. | |||||
| void | onReceivedError(WebView view, int errorCode, String description) | ||||
| Report an error to an activity. | |||||
| void | onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, String host, String realm) | ||||
| Notify the host application to handle an authentication request. | |||||
| void | onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) | ||||
| Notify the host application to handle a ssl certificate error request (display the error to the user and ask whether to proceed or not). | |||||
| void | onTooManyRedirects(WebView view, Message cancelMsg, Message continueMsg) | ||||
| Notify the host application that there have been an excessive number of HTTP redirects. | |||||
| void | onUnhandledKeyEvent(WebView view, KeyEvent event) | ||||
| Notify the host application that a key was not handled by the WebView. | |||||
| boolean | shouldOverrideKeyEvent(WebView view, KeyEvent event) | ||||
| Give the host application a chance to handle the key event synchronously. | |||||
| boolean | shouldOverrideUrlLoading(WebView view, String url) | ||||
| Give the host application a chance to take over the control when a new url is about to be loaded in the current WebView. | |||||
Methods inherited
from class
java.lang.Object
| view | The WebView that is initiating the callback. |
|---|---|
| url | The url being visited. |
| isReload | True if this url is being reloaded. |
| view | The WebView that is initiating the callback. |
|---|---|
| dontResend | The message to send if the browser should not resend |
| resend | The message to send if the browser should resend data |
| view | The WebView that is initiating the callback. |
|---|---|
| url | The url of the resource the WebView will load. |
| view | The WebView that is initiating the callback. |
|---|---|
| url | The url to be loaded. |
| favicon | The favicon for this page if it already exists in the database. |
| view | The WebView that is initiating the callback. |
|---|---|
| errorCode | The HTTP error code. |
| description | A String description. |
| view | The WebView that is initiating the callback. |
|---|---|
| handler | The HttpAuthHandler that will handle the user's response. |
| host | The host requiring authentication. |
| realm | A description to help store user credentials for future visits. |
| view | The WebView that is initiating the callback. |
|---|---|
| handler | An SslErrorHandler object that will handle the user's response. |
| error | The SSL error object. |
| view | The WebView that is initiating the callback. |
|---|---|
| cancelMsg | The message to send if the host wants to cancel |
| continueMsg | The message to send if the host wants to continue |
| view | The WebView that is initiating the callback. |
|---|---|
| event | The key event. |
| view | The WebView that is initiating the callback. |
|---|---|
| event | The key event. |
| view | The WebView that is initiating the callback. |
|---|---|
| url | The url to be loaded. |