Package org.mozilla.geckoview
Class GeckoSession.PromptDelegate.RepostConfirmPrompt
Object
org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
org.mozilla.geckoview.GeckoSession.PromptDelegate.RepostConfirmPrompt
- Enclosing interface:
- GeckoSession.PromptDelegate
public static class GeckoSession.PromptDelegate.RepostConfirmPrompt
extends GeckoSession.PromptDelegate.BasePrompt
RepostConfirmPrompt represents a prompt shown whenever the browser needs to resubmit POST
data (e.g. due to page refresh).
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
GeckoSession.PromptDelegate.BasePrompt.Observer
-
Field Summary
Fields inherited from class org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
title
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Methods inherited from class org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
confirm, dismiss, getDelegate, isComplete, setDelegate
-
Constructor Details
-
RepostConfirmPrompt
protected RepostConfirmPrompt(@NonNull String id, @NonNull GeckoSession.PromptDelegate.BasePrompt.Observer observer)
-
-
Method Details
-
confirm
@UiThread @NonNull public GeckoSession.PromptDelegate.PromptResponse confirm(@Nullable AllowOrDeny allowOrDeny) Confirms the prompt.- Parameters:
allowOrDeny
- whether the browser should allow resubmitting data.- Returns:
- A
GeckoSession.PromptDelegate.PromptResponse
which can be used to complete theGeckoResult
associated with this prompt.
-