public static class GeckoSession.PromptDelegate.PopupPrompt extends GeckoSession.PromptDelegate.BasePrompt
Modifier and Type | Field and Description |
---|---|
String |
targetUri
The target URI for the popup; may be null.
|
title
Modifier | Constructor and Description |
---|---|
protected |
PopupPrompt(String targetUri) |
Modifier and Type | Method and Description |
---|---|
GeckoSession.PromptDelegate.PromptResponse |
confirm(AllowOrDeny response)
Confirms the prompt and either allows or blocks the popup.
|
confirm, dismiss, isComplete
@Nullable public final String targetUri
protected PopupPrompt(@Nullable String targetUri)
@UiThread @NonNull public GeckoSession.PromptDelegate.PromptResponse confirm(@NonNull AllowOrDeny response)
response
- An AllowOrDeny
specifying whether to allow or deny the popup.GeckoSession.PromptDelegate.PromptResponse
which can be used to complete
the GeckoResult
associated with this prompt.