public class JsPromptResult extends JsResult
WebChromeClient.onJsPrompt(WebView, String, String, String, JsPromptResult)
call with a
JsPromptResult instance as a parameter. This parameter is used to return the result of this user
dialog prompt back to the WebView instance. The client can call cancel() to cancel the dialog or
confirm() with the user's input to confirm the dialog.JsResult.ResultReceiver
Constructor and Description |
---|
JsPromptResult(JsResult.ResultReceiver receiver) |
Modifier and Type | Method and Description |
---|---|
void |
confirm(String result)
Handle a confirmation response from the user.
|
String |
getStringResult() |
public JsPromptResult(JsResult.ResultReceiver receiver)