Class GeckoSession.PromptDelegate.RedirectPrompt

Object
org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
org.mozilla.geckoview.GeckoSession.PromptDelegate.RedirectPrompt
Enclosing interface:
GeckoSession.PromptDelegate

public static class GeckoSession.PromptDelegate.RedirectPrompt extends GeckoSession.PromptDelegate.BasePrompt
RedirectPrompt contains the information necessary to represent a redirect blocking request.
  • Field Details

    • targetUri

      @Nullable public final String targetUri
      The target URI for the redirect; may be null.
  • Constructor Details

    • RedirectPrompt

      protected RedirectPrompt(@NonNull String id, @Nullable String targetUri, @NonNull GeckoSession.PromptDelegate.BasePrompt.Observer observer)
      Constructor for RedirectPrompt with the given target URI.
      Parameters:
      id - Unique identifier for this prompt.
      targetUri - The target URI for the redirect; may be null.
      observer - Observer to notify when the prompt is completed.
  • Method Details