HttpCacheType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum HttpCacheType
type HttpCacheType =
- Inheritance
-
HttpCacheType
Fields
| Name | Value | Description |
|---|---|---|
| Disabled | 0 | Setting to disable HTTP cache. Some data may still be temporarily stored in memory. Passed to setEnableHttpCache(int, long). Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| InMemory | 1 | Setting to enable in-memory HTTP cache, including HTTP data. Passed to setEnableHttpCache(int, long). Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| DiskNoHttp | 2 | Setting to enable on-disk cache, excluding HTTP data. setStoragePath(String) must be called prior to passing this constant to setEnableHttpCache(int, long). Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Disk | 3 | Setting to enable on-disk cache, including HTTP data. setStoragePath(String) must be called prior to passing this constant to setEnableHttpCache(int, long). Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |