Class NetworkOptionsImpl.Builder
- java.lang.Object
-
- es.situm.sdk.configuration.network.NetworkOptionsImpl.Builder
-
- Enclosing class:
- NetworkOptionsImpl
public static final class NetworkOptionsImpl.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(NetworkOptions networkOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkOptions
build()
NetworkOptionsImpl.Builder
setCacheStrategy(NetworkOptions.CacheStrategy cacheStrategy)
Sets the desired cache strategy.NetworkOptionsImpl.Builder
setPreloadImages(java.lang.Boolean preloadImages)
Specifies if images should be preloaded when available.
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(NetworkOptions networkOptions)
-
-
Method Detail
-
setCacheStrategy
public NetworkOptionsImpl.Builder setCacheStrategy(NetworkOptions.CacheStrategy cacheStrategy)
Sets the desired cache strategy.
-
setPreloadImages
public NetworkOptionsImpl.Builder setPreloadImages(java.lang.Boolean preloadImages)
Specifies if images should be preloaded when available. This value is true by default.
-
build
public NetworkOptions build()
-
-