Class NetworkOptionsImpl
- java.lang.Object
-
- es.situm.sdk.configuration.network.NetworkOptionsImpl
-
- All Implemented Interfaces:
NetworkOptions
public class NetworkOptionsImpl extends java.lang.Object implements NetworkOptions
This class implements NetworkOptions. It is used to configure network related configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NetworkOptionsImpl.Builder
-
Nested classes/interfaces inherited from interface es.situm.sdk.configuration.network.NetworkOptions
NetworkOptions.CacheStrategy
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkOptions.CacheStrategy
getCacheStrategy()
Defines which data source takes priority, server or cache.java.lang.Boolean
getPreloadImages()
Specifies whether images should be preloaded if possible.
-
-
-
Method Detail
-
getCacheStrategy
public NetworkOptions.CacheStrategy getCacheStrategy()
Description copied from interface:NetworkOptions
Defines which data source takes priority, server or cache. If null, SDK will use default behaviour.- Specified by:
getCacheStrategy
in interfaceNetworkOptions
-
getPreloadImages
public java.lang.Boolean getPreloadImages()
Description copied from interface:NetworkOptions
Specifies whether images should be preloaded if possible. If null, SDK will use default behaviour.- Specified by:
getPreloadImages
in interfaceNetworkOptions
-
-