PrefetchOptions
@ExperimentalPrefetch
public final class PrefetchOptions
Composes optional parameters used in prefetch.
Summary
Nested types |
|---|
@ExperimentalPrefetchBuilder class for |
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
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
public final @Nullable Uri sourceOrigin
The origin that prefetch is requested from.