public class JsResult extends Object
WebChromeClient
action
notifications. The object is used as a handle onto the underlying JavaScript-originated request,
and provides a means for the client to indicate whether this action should proceed.Modifier and Type | Class and Description |
---|---|
static interface |
JsResult.ResultReceiver
Callback interface, implemented by the WebViewProvider implementation to receive
notifications when the JavaScript result represented by a JsResult instance has
|
Constructor and Description |
---|
JsResult(JsResult.ResultReceiver receiver) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Handle the result if the user cancelled the dialog.
|
void |
confirm()
Handle a confirmation response from the user.
|
boolean |
getResult() |
public JsResult(JsResult.ResultReceiver receiver)