PlatformScreenshotEngine

Handles view drawing and screenshot capture for the platform backend.

Constructors

Link copied to clipboard
constructor(session: PageSession, config: BrowserConfig)

Functions

Link copied to clipboard
suspend fun screenshot(options: ScreenshotOptions = ScreenshotOptions()): ByteArray

Captures a screenshot of the session's WebView by drawing the view into a bitmap.