PrefetchOptions


@ExperimentalPrefetch
public final class PrefetchOptions


Composes optional parameters used in prefetch.

Summary

Nested types

Builder class for PrefetchOptions

Public fields

final boolean

Set true to anonymize IP address of the prefetch request when it is cross-origin.

final @Nullable Uri

The origin that prefetch is requested from.

Public fields

requiresAnonymousIpWhenCrossOrigin

Added in 1.9.0-alpha02
public final boolean requiresAnonymousIpWhenCrossOrigin

Set true to anonymize IP address of the prefetch request when it is cross-origin.

sourceOrigin

Added in 1.9.0-alpha02
public final @Nullable Uri sourceOrigin

The origin that prefetch is requested from.