Class CacheManager

Definition

Namespace:
Tizen.Content.Download
Assembly:
Tizen.Content.Download.dll
API Level:
11

The CacheManager class provides the functions to manage cache properties.

C#
Copy
public static class CacheManager : object
Inheritance
CacheManager

Properties

View Source

CacheLifeCycle

Life cycle of the cache in seconds.

Declaration
C#
Copy
public static uint CacheLifeCycle { get; set; }
Property Value
Type Description
UInt32
Remarks

The time after which the stored cache will be invalid/stale.

API Level: 11
Privilege Level: public
Privilege: http://tizen.org/privilege/download
Feature: http://tizen.org/feature/download
View Source

CachePath

Path of the cache stored.

Declaration
C#
Copy
public static string CachePath { get; set; }
Property Value
Type Description
String
API Level: 11
Privilege Level: public
Privilege: http://tizen.org/privilege/download
Feature: http://tizen.org/feature/download
View Source

MaxCacheSize

Total maximum cache size considering all apps.

Declaration
C#
Copy
public static uint MaxCacheSize { get; set; }
Property Value
Type Description
UInt32
API Level: 11
Privilege Level: public
Privilege: http://tizen.org/privilege/download
Feature: http://tizen.org/feature/download

Methods

View Source

ResetAllCache()

Clears all system download cache.

Declaration
C#
Copy
public static void ResetAllCache()
API Level: 11
Privilege Level: public
Privilege: http://tizen.org/privilege/download
Feature: http://tizen.org/feature/download
View Source

ResetCache()

Clears per app download cache.

Declaration
C#
Copy
public static void ResetCache()
API Level: 11
Privilege Level: public
Privilege: http://tizen.org/privilege/download
Feature: http://tizen.org/feature/download