Package com.cefrium
Interface CefriumBrowser.JsDialogHandler
- Enclosing class:
CefriumBrowser
public static interface CefriumBrowser.JsDialogHandler
Handles page JS dialogs (alert/confirm/prompt). Return true if handled
(you MUST call the callback); return false to use the default Android
AlertDialog. Without a handler set, the default AlertDialog is shown.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanonJsDialog(int type, String message, String defaultPromptText, CefriumBrowser.JsDialogCallback callback)
-
Method Details
-
onJsDialog
boolean onJsDialog(int type, String message, String defaultPromptText, CefriumBrowser.JsDialogCallback callback)
-