Class NetworkOptionsImpl
java.lang.Object
es.situm.sdk.configuration.network.NetworkOptionsImpl
- All Implemented Interfaces:
NetworkOptions
This class implements NetworkOptions. It is used to configure network related configuration.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface es.situm.sdk.configuration.network.NetworkOptions
NetworkOptions.CacheStrategy -
Method Summary
Modifier and TypeMethodDescriptionDefines which data source takes priority, server or cache.Specifies whether images should be preloaded if possible.
-
Method Details
-
getCacheStrategy
Description copied from interface:NetworkOptionsDefines which data source takes priority, server or cache. If null, SDK will use default behaviour.- Specified by:
getCacheStrategyin interfaceNetworkOptions
-
getPreloadImages
Description copied from interface:NetworkOptionsSpecifies whether images should be preloaded if possible. If null, SDK will use default behaviour.- Specified by:
getPreloadImagesin interfaceNetworkOptions
-