Interface BrowserFactory


public interface BrowserFactory
See Also:
  • Field Details

  • Method Details

    • isSupported

      boolean isSupported()
      Returns:
      Whether browser is supported on the current platform. Client code should check this before calling other methods in this class.
    • createForUrl

      Browser createForUrl(@Nullable String id, String url, @Nullable BrowserListener listener)
      Parameters:
      id - Id for logging.
    • createForHtml

      Browser createForHtml(@Nullable String id, String html, @Nullable BrowserListener listener)
      Parameters:
      id - Id for logging.
      html - Content to render.