android.webkit
Class JsPromptResult
java.lang.Object
android.webkit.JsResult
android.webkit.JsPromptResult
public class JsPromptResult
- extends JsResult
Public class for handling javascript prompt requests. A
JsDialogHandlerInterface implentation will receive a jsPrompt call with a
JsPromptResult parameter. This parameter is used to return a result to
WebView. The client can call cancel() to cancel the dialog or confirm() with
the user's input to confirm the dialog.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsPromptResult
JsPromptResult(CallbackProxy proxy)
confirm
public void confirm(String result)
- Handle a confirmation response from the user.
getStringResult
String getStringResult()
handleDefault
void handleDefault()
- Overrides:
handleDefault in class JsResult
Please submit a feedback, bug or feature