WebViewStartUpConfig.Builder


@WebViewCompat.ExperimentalAsyncStartUp
class WebViewStartUpConfig.Builder


Summary

Public constructors

Builder(executor: Executor)

Builder for WebViewStartUpConfig.

Public functions

WebViewStartUpConfig

Build and return a WebViewStartUpConfig object.

Public constructors

Builder

Builder(executor: Executor)

Builder for WebViewStartUpConfig.

Parameters
executor: Executor

The portions of WebView startup that can run on a background thread are scheduled on this executor. Blocking tasks will be run on the executor.

Public functions

build

fun build(): WebViewStartUpConfig

Build and return a WebViewStartUpConfig object.

Returns
WebViewStartUpConfig

immutable WebViewStartUpConfig object.