PrefetchParameters


@RequiresFeature(name = WebViewFeature.PROFILE_URL_PREFETCH, enforcement = "androidx.webkit.WebViewFeature#isFeatureSupported")
@Profile.ExperimentalUrlPrefetch
class PrefetchParameters


Parameters for customizing the prefetch. Use the Builder to construct.

Summary

Nested types

A builder class to use to construct the PrefetchParameters.

Public functions

getAdditionalHeaders

fun getAdditionalHeaders(): (Mutable)Map<String!, String!>
Returns
(Mutable)Map<String!, String!>

The map of the additional headers built using Builder.

getExpectedNoVarySearchData

fun getExpectedNoVarySearchData(): NoVarySearchData?
Returns
NoVarySearchData?

The noVarySearch model built using Builder.

isJavaScriptEnabled

fun isJavaScriptEnabled(): Boolean
Returns
Boolean

The javascript enabled setting built using Builder.