Class GeckoSession.PromptDelegate.FilePrompt

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

public static class GeckoSession.PromptDelegate.FilePrompt extends GeckoSession.PromptDelegate.BasePrompt
FilePrompt contains the information necessary to represent a prompt for a file or files generated by content.
  • Field Details

  • Constructor Details

    • FilePrompt

      protected FilePrompt(@NonNull String id, @Nullable String title, int type, int capture, @Nullable String[] mimeTypes, @NonNull GeckoSession.PromptDelegate.BasePrompt.Observer observer)
      Constructs a FilePrompt for file selection inputs.
      Parameters:
      id - the unique identifier for this prompt
      title - the title text for the prompt; may be null
      type - the file prompt type (single, multiple, or folder)
      capture - the capture attribute specified by content
      mimeTypes - the array of MIME types from the "accept" attribute; may be null
      observer - the observer to notify when the prompt is completed
  • Method Details