HostedWebView

class HostedWebView(val webView: WebView, val mode: HostMode, val width: Int, val height: Int)

A WebView and the arrangement it was given.

Constructors

Link copied to clipboard
constructor(webView: WebView, mode: HostMode, width: Int, height: Int)

Properties

Link copied to clipboard

Drawing only produces the page from an attached view of real size.

Link copied to clipboard

Set once, so a second destroy is a no-op rather than a crash.

Link copied to clipboard
val height: Int

The height it was created at; not updated if the view is resized afterward.

Link copied to clipboard

The HostMode this view was created under.

Link copied to clipboard

The WebView instance this session drives.

Link copied to clipboard
val width: Int

The width it was created at; not updated if the view is resized afterward.