The following members of class ArcGISRuntimeEnvironment are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Static Public Members
(obsolete) bool | networkCachingEnabled() |
(obsolete) void | setNetworkCachingEnabled(bool enabled) |
Member Function Documentation
[static]
bool ArcGISRuntimeEnvironment::networkCachingEnabled ()
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Returns whether network caching is enabled.
This is a global setting and applies to all network requests.
The default value is true
.
When set to false
, no disk caching will be used. When set to true
, network requests will attempt to cache results and use those as possible when the same request is made again.
Network caching can improve the performance of loading network resources.
This property is deprecated in 100.8.0. Use NetworkCacheConfiguration instead.
This function was introduced in Esri::ArcGISRuntime 100.7.
See also setNetworkCachingEnabled().
[static]
void ArcGISRuntimeEnvironment::setNetworkCachingEnabled (bool enabled)
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Sets network caching to enabled.
This is a global setting and applies to all network requests.
This property is deprecated in 100.8.0. Use NetworkCacheConfiguration instead.
This function was introduced in Esri::ArcGISRuntime 100.7.
See also networkCachingEnabled().