Package org.mozilla.geckoview
Class GeckoSession.PromptDelegate.AlertPrompt
Object
org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
org.mozilla.geckoview.GeckoSession.PromptDelegate.AlertPrompt
- Enclosing interface:
- GeckoSession.PromptDelegate
public static class GeckoSession.PromptDelegate.AlertPrompt
extends GeckoSession.PromptDelegate.BasePrompt
AlertPrompt contains the information necessary to represent a JavaScript alert() call from
content; it can only be dismissed, not confirmed.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
GeckoSession.PromptDelegate.BasePrompt.Observer
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
The message to be displayed with this alert; may be null.Fields inherited from class org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
title
-
Constructor Summary
ModifierConstructorDescriptionprotected
AlertPrompt
(String id, String title, String message, GeckoSession.PromptDelegate.BasePrompt.Observer observer) -
Method Summary
Methods inherited from class org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
confirm, dismiss, getDelegate, isComplete, setDelegate
-
Field Details
-
message
The message to be displayed with this alert; may be null.
-
-
Constructor Details
-
AlertPrompt
protected AlertPrompt(@NonNull String id, @Nullable String title, @Nullable String message, @NonNull GeckoSession.PromptDelegate.BasePrompt.Observer observer)
-