Obsolete Members for NetworkCacheConfiguration

  • NetworkCacheConfiguration
  • The following members of class NetworkCacheConfiguration are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

    Public Functions

    (obsolete) void clearCache()
    (obsolete) void setCacheDirectory(const QString &directory)
    (obsolete) void setCachePolicy(Esri::ArcGISRuntime::NetworkCachePolicy policy)
    (obsolete) void setMaximumCacheSize(qint64 maxSize)
    (obsolete) void setNetworkCachingEnabled(bool enabled)

    Signals

    (obsolete) void networkCachingEnabledChanged()

    Member Function Documentation

    [signal] void NetworkCacheConfiguration::networkCachingEnabledChanged()

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Signal emitted when the networkCachingEnabled property changes.

    void NetworkCacheConfiguration::clearCache()

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Clears the cache directory.

    Warning: This call is synchronous and will block.

    void NetworkCacheConfiguration::setCacheDirectory(const QString &directory)

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Sets the directory to store the cached responses from directory.

    Warning: This call is synchronous and will block.

    See also cacheDirectory().

    void NetworkCacheConfiguration::setCachePolicy(Esri::ArcGISRuntime::NetworkCachePolicy policy)

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Sets the cache behavior for requests to policy.

    Warning: This call is synchronous and will block.

    See also cachePolicy() and NetworkCachePolicy.

    void NetworkCacheConfiguration::setMaximumCacheSize(qint64 maxSize)

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Sets the maximum size for the disk cache in bytes to maxSize.

    Warning: This call is synchronous and will block.

    See also maximumCacheSize().

    void NetworkCacheConfiguration::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.

    Warning: This call is synchronous and will block.

    See also networkCachingEnabled().

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.