public class JsDialogHelper extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ALERT |
static int |
CONFIRM |
static int |
PROMPT |
static int |
UNLOAD |
Constructor and Description |
---|
JsDialogHelper(JsPromptResult result,
int type,
String defaultValue,
String message,
String url) |
JsDialogHelper(JsPromptResult result,
Message msg) |
Modifier and Type | Method and Description |
---|---|
boolean |
invokeCallback(WebChromeClient client,
WebView webView) |
void |
showDialog(Context context) |
public static final int ALERT
public static final int CONFIRM
public static final int PROMPT
public static final int UNLOAD
public JsDialogHelper(JsPromptResult result, int type, String defaultValue, String message, String url)
public JsDialogHelper(JsPromptResult result, Message msg)
public boolean invokeCallback(WebChromeClient client, WebView webView)
public void showDialog(Context context)