Package-level declarations

Types

Link copied to clipboard
class HostedWebView(val webView: WebView, val mode: HostMode, val width: Int, val height: Int)

A WebView and the arrangement it was given.

Link copied to clipboard

How a session's WebView is hosted, and what that costs.

Link copied to clipboard

System memory pressure observer for Android.

Link copied to clipboard
class PlatformInputEngine(session: PageSession, scriptEngine: PlatformScriptEngine, reader: PlatformReader, config: BrowserConfig)

Handles synthetic user interactions (click, type, press, hover, scrollIntoView, selectOption) on the platform backend.

Link copied to clipboard

Handles page navigation via WebView for the platform backend.

Link copied to clipboard
class PlatformReader(session: PageSession, scriptEngine: PlatformScriptEngine, config: BrowserConfig)

Handles DOM reading, element queries, and selector waiting on the platform backend.

Link copied to clipboard

Handles view drawing and screenshot capture for the platform backend.

Link copied to clipboard

Handles JavaScript evaluation and document-start init script injection on the platform backend.

Link copied to clipboard

Handles cookie management and web storage clearing for the platform backend.

Link copied to clipboard

Encoding for a captured screenshot.

Link copied to clipboard
data class ScreenshotOptions(val format: ScreenshotFormat = ScreenshotFormat.PNG, val quality: Int = 100)

How to encode a screenshot.