Class PageExtractionController.ContentParams

Object
org.mozilla.geckoview.PageExtractionController.ContentParams
Enclosing class:
PageExtractionController

public static class PageExtractionController.ContentParams extends Object
Options for controlling how text is extracted from a page.
  • Field Details

    • removeBoilerplate

      public final boolean removeBoilerplate
      When true, attempts to remove boilerplate content from the page using reader mode, falling back to full extraction if unavailable.
  • Constructor Details

    • ContentParams

      public ContentParams(boolean removeBoilerplate)
      Construct a new ContentParams.
      Parameters:
      removeBoilerplate - whether to remove boilerplate using reader mode