Class CacheManager
Definition
- Assembly:
- Tizen.Content.Download.dll
The CacheManager class provides the functions to manage cache properties.
public static class CacheManager
- Inheritance
-
objectCacheManager
Properties
View SourceCacheLifeCycle
Life cycle of the cache in seconds.
Declaration
public static uint CacheLifeCycle { get; set; }
Property Value
Type | Description |
---|---|
uint |
Remarks
The time after which the stored cache will be invalid/stale.
CachePath
Path of the cache stored.
Declaration
public static string CachePath { get; set; }
Property Value
Type | Description |
---|---|
string |
MaxCacheSize
Total maximum cache size considering all apps.
Declaration
public static uint MaxCacheSize { get; set; }
Property Value
Type | Description |
---|---|
uint |
Methods
View SourceResetAllCache()
Clears all system download cache.
Declaration
public static void ResetAllCache()
ResetCache()
Clears per app download cache.
Declaration
public static void ResetCache()