WebViewStartUpConfig.Builder


@WebViewCompat.ExperimentalAsyncStartUp
public final class WebViewStartUpConfig.Builder


Summary

Public constructors

Builder for WebViewStartUpConfig.

Public methods

@NonNull WebViewStartUpConfig

Build and return a WebViewStartUpConfig object.

Public constructors

Builder

public Builder(@NonNull Executor executor)

Builder for WebViewStartUpConfig.

Parameters
@NonNull 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 methods

build

public @NonNull WebViewStartUpConfig build()

Build and return a WebViewStartUpConfig object.